tweak headline icons display

This commit is contained in:
Andrew Dolgov 2013-10-15 19:46:51 +04:00
parent c81545503a
commit 22f1b3726b
5 changed files with 28 additions and 18 deletions

View File

@ -57,7 +57,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:paddingLeft="4dp" android:paddingLeft="8dp"
android:paddingRight="4dp" android:paddingRight="4dp"
android:background="@null" android:background="@null"
android:src="@drawable/ic_action_overflow" /> android:src="@drawable/ic_action_overflow" />

View File

@ -111,26 +111,27 @@
android:id="@+id/marked" android:id="@+id/marked"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp"
android:src="@drawable/ic_star_empty" /> android:src="@drawable/ic_star_empty" />
<ImageView <ImageView
android:id="@+id/published" android:id="@+id/published"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="6dp"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp" android:src="@drawable/ic_unpublished" />
android:src="@drawable/ic_published" />
<ImageView <ImageView
android:id="@+id/article_menu_button" android:id="@+id/article_menu_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:paddingLeft="8dp" android:paddingLeft="6dp"
android:paddingRight="6dp"
android:src="@drawable/ic_action_overflow" /> android:src="@drawable/ic_action_overflow" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -14,7 +14,10 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?headlineSelectedBackground" android:background="?headlineSelectedBackground"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="6dp" android:paddingLeft="6dp" android:paddingRight="6dp" android:paddingBottom="2dp" > android:paddingBottom="2dp"
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:paddingTop="6dp" >
<LinearLayout <LinearLayout
android:id="@+id/linearLayout6" android:id="@+id/linearLayout6"
@ -106,26 +109,27 @@
android:id="@+id/marked" android:id="@+id/marked"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp"
android:src="@drawable/ic_star_empty" /> android:src="@drawable/ic_star_empty" />
<ImageView <ImageView
android:id="@+id/published" android:id="@+id/published"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="6dp"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp" android:src="@drawable/ic_unpublished" />
android:src="@drawable/ic_published" />
<ImageView <ImageView
android:id="@+id/article_menu_button" android:id="@+id/article_menu_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:paddingLeft="8dp" android:paddingLeft="6dp"
android:paddingRight="6dp"
android:src="@drawable/ic_action_overflow" /> android:src="@drawable/ic_action_overflow" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -14,7 +14,10 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?headlineSelectedBackground" android:background="?headlineSelectedBackground"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="6dp" android:paddingLeft="6dp" android:paddingRight="6dp" android:paddingBottom="2dp" > android:paddingBottom="2dp"
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:paddingTop="6dp" >
<LinearLayout <LinearLayout
android:id="@+id/linearLayout6" android:id="@+id/linearLayout6"
@ -107,26 +110,27 @@
android:id="@+id/marked" android:id="@+id/marked"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp"
android:src="@drawable/ic_star_empty" /> android:src="@drawable/ic_star_empty" />
<ImageView <ImageView
android:id="@+id/published" android:id="@+id/published"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="6dp"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp" android:src="@drawable/ic_unpublished" />
android:src="@drawable/ic_published" />
<ImageView <ImageView
android:id="@+id/article_menu_button" android:id="@+id/article_menu_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:paddingLeft="8dp" android:paddingLeft="6dp"
android:paddingRight="6dp"
android:src="@drawable/ic_action_overflow" /> android:src="@drawable/ic_action_overflow" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -109,7 +109,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp" android:layout_marginRight="8dp"
android:src="@drawable/ic_star_empty" /> android:src="@drawable/ic_star_empty" />
<ImageView <ImageView
@ -118,7 +118,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:clickable="true" android:clickable="true"
android:paddingRight="8dp" android:layout_marginRight="8dp"
android:src="@drawable/ic_unpublished" /> android:src="@drawable/ic_unpublished" />
<ImageView <ImageView
@ -126,7 +126,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:paddingLeft="8dp" android:paddingLeft="6dp"
android:paddingRight="6dp"
android:src="@drawable/ic_action_overflow" /> android:src="@drawable/ic_action_overflow" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>