diff options
Diffstat (limited to 'OpenPGP-Keychain/res')
-rw-r--r-- | OpenPGP-Keychain/res/layout/key_list_item.xml (renamed from OpenPGP-Keychain/res/layout/key_list_group_item.xml) | 20 | ||||
-rw-r--r-- | OpenPGP-Keychain/res/layout/key_list_public_fragment.xml | 25 | ||||
-rw-r--r-- | OpenPGP-Keychain/res/layout/stickylist_header.xml | 6 |
3 files changed, 25 insertions, 26 deletions
diff --git a/OpenPGP-Keychain/res/layout/key_list_group_item.xml b/OpenPGP-Keychain/res/layout/key_list_item.xml index 240be54b0..2571bb6e7 100644 --- a/OpenPGP-Keychain/res/layout/key_list_group_item.xml +++ b/OpenPGP-Keychain/res/layout/key_list_item.xml @@ -1,26 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright (C) 2010 Thialfihar <thi@thialfihar.org> - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" + android:layout_width="match_parent" android:layout_height="?android:attr/listPreferredItemHeight" android:layout_marginRight="?android:attr/scrollbarSize" android:orientation="vertical" - android:paddingLeft="36dip" + android:paddingLeft="8dp" android:singleLine="true" > <TextView diff --git a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml index 052dd4249..451230a1f 100644 --- a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml +++ b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml @@ -2,13 +2,28 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - android:paddingLeft="8dp" - android:paddingRight="8dp" > + android:orientation="vertical" > <se.emilsjolander.stickylistheaders.StickyListHeadersListView - android:id="@+id/key_list_public_fragment_stickylist" + android:id="@+id/list" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:clipToPadding="false" + android:drawSelectorOnTop="true" + android:fastScrollEnabled="true" + android:paddingBottom="16dp" + android:paddingLeft="16dp" + android:paddingRight="32dp" + android:paddingTop="16dp" + android:scrollbarStyle="outsideOverlay" /> + + <TextView + android:id="@+id/empty" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:text="@string/list_empty" + android:textSize="30sp" + android:visibility="gone" /> </LinearLayout>
\ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/stickylist_header.xml b/OpenPGP-Keychain/res/layout/stickylist_header.xml index 475d1c4db..b8906c2db 100644 --- a/OpenPGP-Keychain/res/layout/stickylist_header.xml +++ b/OpenPGP-Keychain/res/layout/stickylist_header.xml @@ -2,15 +2,15 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@drawable/header_selector" > + android:background="@color/abs__background_holo_light" > <se.emilsjolander.stickylistheaders.views.UnderlineTextView android:id="@+id/stickylist_header_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="start|left" - android:padding="5dp" - android:textColor="@android:color/white" + android:padding="8dp" + android:textColor="@color/emphasis" android:textSize="17sp" android:textStyle="bold" /> |