John Reck | 1020079 | 2010-11-29 16:01:11 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** Copyright 2010, The Android Open Source Project |
| 5 | ** |
| 6 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ** you may not use this file except in compliance with the License. |
| 8 | ** You may obtain a copy of the License at |
| 9 | ** |
| 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ** |
| 12 | ** Unless required by applicable law or agreed to in writing, software |
| 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ** See the License for the specific language governing permissions and |
| 16 | ** limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | |
| 20 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | android:orientation="vertical" |
| 22 | android:layout_height="match_parent" |
| 23 | android:layout_width="match_parent" |
| 24 | android:background="@android:color/transparent"> |
| 25 | |
Sagar Dhawan | ca9ecfb | 2015-08-10 17:27:58 -0700 | [diff] [blame] | 26 | <FrameLayout |
John Reck | 1020079 | 2010-11-29 16:01:11 -0800 | [diff] [blame] | 27 | android:layout_width="match_parent" |
Sagar Dhawan | ca9ecfb | 2015-08-10 17:27:58 -0700 | [diff] [blame] | 28 | android:layout_height="fill_parent" |
| 29 | android:layout_weight="1"> |
| 30 | <ListView android:id="@android:id/list" |
| 31 | android:layout_width="match_parent" |
| 32 | android:layout_height="match_parent" |
| 33 | android:clipToPadding="false" |
| 34 | android:drawSelectorOnTop="false" |
| 35 | android:cacheColorHint="@android:color/transparent" |
| 36 | android:divider="@null" |
| 37 | android:dividerHeight="0dp" |
| 38 | android:scrollbarAlwaysDrawVerticalTrack="true" /> |
| 39 | |
| 40 | <View |
| 41 | android:layout_width="match_parent" |
| 42 | android:layout_height="@dimen/combo_shadow_height" |
| 43 | android:layout_gravity="bottom" |
| 44 | android:background="@drawable/shadow_top" /> |
| 45 | </FrameLayout> |
John Reck | 1020079 | 2010-11-29 16:01:11 -0800 | [diff] [blame] | 46 | |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 47 | <LinearLayout |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 48 | android:layout_width="match_parent" |
Sagar Dhawan | ca9ecfb | 2015-08-10 17:27:58 -0700 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
| 50 | android:background="@color/primary" |
| 51 | style="?android:attr/buttonBarStyle" > |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 52 | |
| 53 | <Button android:id="@+id/add_new_site" |
Sagar Dhawan | ca9ecfb | 2015-08-10 17:27:58 -0700 | [diff] [blame] | 54 | android:layout_height="wrap_content" |
| 55 | android:layout_width="wrap_content" |
| 56 | android:layout_weight="1" |
| 57 | android:text="@string/website_settings_add_origin" |
| 58 | style="?android:attr/buttonBarButtonStyle" |
| 59 | /> |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 60 | |
| 61 | <Button android:id="@+id/clear_all_button" |
John Reck | 1020079 | 2010-11-29 16:01:11 -0800 | [diff] [blame] | 62 | android:layout_height="wrap_content" |
Sagar Dhawan | ca9ecfb | 2015-08-10 17:27:58 -0700 | [diff] [blame] | 63 | android:layout_width="wrap_content" |
| 64 | android:layout_weight="1" |
John Reck | 1020079 | 2010-11-29 16:01:11 -0800 | [diff] [blame] | 65 | android:text="@string/website_settings_clear_all" |
Sagar Dhawan | ca9ecfb | 2015-08-10 17:27:58 -0700 | [diff] [blame] | 66 | style="?android:attr/buttonBarButtonStyle" |
| 67 | /> |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 68 | </LinearLayout> |
John Reck | 1020079 | 2010-11-29 16:01:11 -0800 | [diff] [blame] | 69 | </LinearLayout> |