Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e9145f0 authored by Daniel Applebaum's avatar Daniel Applebaum
Browse files

Adjunct to the new variable font sizes, allow the Account list and

Folder list items to vary in size based on the font sizes.

parent 9eadd15c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2,9 +2,10 @@
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="?android:attr/listPreferredItemHeight"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:paddingRight="6dip"
    android:paddingBottom="2dip"
    android:gravity="center_vertical" >

    <View
@@ -80,6 +81,7 @@
            android:layout_alignParentBottom="true" 
            android:layout_gravity="bottom"
            android:layout_marginBottom="1dip"
            android:layout_below="@id/new_message_count"
            android:paddingTop="6dip"
            android:paddingBottom="4dip"
            android:paddingLeft="10dip"
+12 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_height="fill_parent"
    android:layout_width="fill_parent">
    <ListView
        android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        />
 
</LinearLayout>
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="?android:attr/listPreferredItemHeight"
    android:layout_height="fill_parent"
    android:background="@drawable/message_list_item_footer_background"
    android:gravity="left"
    android:orientation="horizontal">
+5 −2
Original line number Diff line number Diff line
@@ -2,8 +2,9 @@
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="?android:attr/listPreferredItemHeight"
    android:layout_height="wrap_content"
    android:paddingRight="4dip"
    android:paddingBottom="2dip"
    android:orientation="horizontal"
    android:gravity="center_vertical" >

@@ -16,9 +17,10 @@

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:orientation="vertical"
        android:gravity="center_vertical"
        android:paddingLeft="6dip" >

        <TextView
@@ -78,6 +80,7 @@
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:layout_alignParentBottom="true"
            android:layout_below="@id/folder_unread_message_count"
            android:layout_marginBottom="1dip"
            android:paddingTop="6dip"
            android:paddingBottom="4dip"
+2 −1
Original line number Diff line number Diff line
@@ -256,6 +256,7 @@ public class FolderList extends K9ListActivity
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
        
        setContentView(R.layout.folder_list);
        mListView = getListView();
        mListView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_INSET);
        mListView.setLongClickable(true);