Fixed layout_heights on the post_replies layouts.

captchafix
Floens 11 years ago
parent 21a5eb5dc6
commit 87b154272e
  1. 33
      Clover/app/src/main/res/layout/post_replies.xml
  2. 47
      Clover/app/src/main/res/layout/post_replies_bottombuttons.xml

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Clover - 4chan browser https://github.com/Floens/Clover/ Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens Copyright (C) 2014 Floens
@ -16,67 +15,65 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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: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="wrap_content"
android:baselineAligned="false" android:baselineAligned="false"
android:orientation="horizontal"
android:divider="?android:attr/dividerVertical" android:divider="?android:attr/dividerVertical"
android:showDividers="middle" android:dividerPadding="12dp"
android:dividerPadding="12dp"> android:orientation="horizontal"
android:showDividers="middle">
<FrameLayout <FrameLayout
style="?android:actionButtonStyle"
android:id="@+id/replies_back" android:id="@+id/replies_back"
style="?android:actionButtonStyle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"> android:layout_weight="1">
<TextView <TextView
style="?android:actionBarTabTextStyle"
android:id="@+id/replies_back_icon" android:id="@+id/replies_back_icon"
style="?android:actionBarTabTextStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:paddingRight="20dp"
android:drawableLeft="@drawable/ic_action_back" android:drawableLeft="@drawable/ic_action_back"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/back"/> android:paddingRight="20dp"
android:text="@string/back" />
</FrameLayout> </FrameLayout>
<FrameLayout <FrameLayout
style="?android:actionButtonStyle"
android:id="@+id/replies_close" android:id="@+id/replies_close"
style="?android:actionButtonStyle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"> android:layout_weight="1">
<TextView <TextView
style="?android:actionBarTabTextStyle"
android:id="@+id/replies_close_icon" android:id="@+id/replies_close_icon"
style="?android:actionBarTabTextStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:paddingRight="20dp"
android:drawableLeft="@drawable/ic_action_done" android:drawableLeft="@drawable/ic_action_done"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/close"/> android:paddingRight="20dp"
android:text="@string/close" />
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>
<ListView <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>

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Clover - 4chan browser https://github.com/Floens/Clover/ Clover - 4chan browser https://github.com/Floens/Clover/
Copyright (C) 2014 Floens Copyright (C) 2014 Floens
@ -16,73 +15,65 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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:orientation="vertical"> android:orientation="vertical">
<LinearLayout <ListView
android:orientation="horizontal" android:id="@+id/post_list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_weight="0.1" android:layout_weight="1" />
>
<ListView
android:id="@+id/post_list"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:baselineAligned="false" android:baselineAligned="false"
android:orientation="horizontal"
android:divider="?android:attr/dividerVertical" android:divider="?android:attr/dividerVertical"
android:showDividers="middle" android:dividerPadding="12dp"
android:dividerPadding="12dp"> android:orientation="horizontal"
android:showDividers="middle">
<FrameLayout <FrameLayout
style="?android:actionButtonStyle"
android:id="@+id/replies_back" android:id="@+id/replies_back"
style="?android:actionButtonStyle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"> android:layout_weight="1">
<TextView <TextView
style="?android:actionBarTabTextStyle"
android:id="@+id/replies_back_icon" android:id="@+id/replies_back_icon"
style="?android:actionBarTabTextStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:paddingRight="20dp"
android:drawableLeft="@drawable/ic_action_back" android:drawableLeft="@drawable/ic_action_back"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/back"/> android:paddingRight="20dp"
android:text="@string/back" />
</FrameLayout> </FrameLayout>
<FrameLayout <FrameLayout
style="?android:actionButtonStyle"
android:id="@+id/replies_close" android:id="@+id/replies_close"
style="?android:actionButtonStyle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1"> android:layout_weight="1">
<TextView <TextView
style="?android:actionBarTabTextStyle"
android:id="@+id/replies_close_icon" android:id="@+id/replies_close_icon"
style="?android:actionBarTabTextStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:paddingRight="20dp"
android:drawableLeft="@drawable/ic_action_done" android:drawableLeft="@drawable/ic_action_done"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/close"/> android:paddingRight="20dp"
android:text="@string/close" />
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>

Loading…
Cancel
Save