Programmatically and not in xml because it already references a style, and this is easier.captchafix
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 392 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 401 B |
After Width: | Height: | Size: 475 B |
After Width: | Height: | Size: 463 B |
After Width: | Height: | Size: 619 B |
@ -1,59 +1,65 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
<LinearLayout |
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="match_parent" |
android:layout_height="match_parent" |
||||||
android:minWidth="320dp" |
android:minWidth="320dp" |
||||||
android:minHeight="200dp" |
android:minHeight="200dp" |
||||||
android:orientation="vertical" > |
android:orientation="vertical"> |
||||||
|
|
||||||
<LinearLayout |
<LinearLayout |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="match_parent" |
android:layout_height="match_parent" |
||||||
android:baselineAligned="false" |
android:baselineAligned="false" |
||||||
android:orientation="horizontal" |
android:orientation="horizontal" |
||||||
android:divider="?android:attr/dividerVertical" |
android:divider="?android:attr/dividerVertical" |
||||||
android:showDividers="middle" |
android:showDividers="middle" |
||||||
android:dividerPadding="12dp"> |
android:dividerPadding="12dp"> |
||||||
|
|
||||||
|
<FrameLayout |
||||||
|
style="?android:actionButtonStyle" |
||||||
|
android:id="@+id/replies_back" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="match_parent" |
||||||
|
android:layout_weight="1"> |
||||||
|
|
||||||
<FrameLayout |
<TextView |
||||||
style="?android:actionButtonStyle" |
style="?android:actionBarTabTextStyle" |
||||||
android:id="@+id/replies_back" |
android:id="@+id/replies_back_icon" |
||||||
android:layout_width="0dp" |
android:layout_width="wrap_content" |
||||||
android:layout_height="match_parent" |
android:layout_height="wrap_content" |
||||||
android:layout_weight="1"> |
android:layout_gravity="center" |
||||||
|
android:paddingRight="20dp" |
||||||
<TextView style="?android:actionBarTabTextStyle" |
android:drawableLeft="@drawable/ic_action_back" |
||||||
android:layout_width="wrap_content" |
android:drawablePadding="8dp" |
||||||
android:layout_height="wrap_content" |
android:gravity="center_vertical" |
||||||
android:layout_gravity="center" |
android:text="@string/post_replies_back"/> |
||||||
android:paddingRight="20dp" |
</FrameLayout> |
||||||
android:drawableLeft="@drawable/ic_action_back" |
|
||||||
android:drawablePadding="8dp" |
|
||||||
android:gravity="center_vertical" |
|
||||||
android:text="@string/post_replies_back" /> |
|
||||||
</FrameLayout> |
|
||||||
<FrameLayout |
|
||||||
style="?android:actionButtonStyle" |
|
||||||
android:id="@+id/replies_close" |
|
||||||
android:layout_width="0dp" |
|
||||||
android:layout_height="match_parent" |
|
||||||
android:layout_weight="1"> |
|
||||||
|
|
||||||
<TextView style="?android:actionBarTabTextStyle" |
|
||||||
android:layout_width="wrap_content" |
|
||||||
android:layout_height="wrap_content" |
|
||||||
android:layout_gravity="center" |
|
||||||
android:paddingRight="20dp" |
|
||||||
android:drawableLeft="@drawable/ic_action_done" |
|
||||||
android:drawablePadding="8dp" |
|
||||||
android:gravity="center_vertical" |
|
||||||
android:text="@string/post_replies_close" /> |
|
||||||
</FrameLayout> |
|
||||||
</LinearLayout> |
|
||||||
|
|
||||||
<ListView |
<FrameLayout |
||||||
|
style="?android:actionButtonStyle" |
||||||
|
android:id="@+id/replies_close" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="match_parent" |
||||||
|
android:layout_weight="1"> |
||||||
|
|
||||||
|
<TextView |
||||||
|
style="?android:actionBarTabTextStyle" |
||||||
|
android:id="@+id/replies_close_icon" |
||||||
|
android:layout_width="wrap_content" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_gravity="center" |
||||||
|
android:paddingRight="20dp" |
||||||
|
android:drawableLeft="@drawable/ic_action_done" |
||||||
|
android:drawablePadding="8dp" |
||||||
|
android:gravity="center_vertical" |
||||||
|
android:text="@string/post_replies_close"/> |
||||||
|
</FrameLayout> |
||||||
|
</LinearLayout> |
||||||
|
|
||||||
|
<ListView |
||||||
android:id="@+id/post_list" |
android:id="@+id/post_list" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="match_parent" /> |
android:layout_height="match_parent"/> |
||||||
|
|
||||||
</LinearLayout> |
</LinearLayout> |
||||||
|