diff options
author | Parménides GV <parmegv@sdf.org> | 2014-03-17 19:09:40 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-03-29 01:46:28 +0100 |
commit | b517bdfa4849e68516aa9653de03568b43a6d6b2 (patch) | |
tree | 8799ac24bca803d16ea4c9d2064b7cc356b622c2 /res/layout-xlarge | |
parent | 8090cfa4dc8ba484d37cb0872dd1d0cdb6be866c (diff) |
Configuration Wizard sized for tablets.
Including provider details.
Diffstat (limited to 'res/layout-xlarge')
-rw-r--r-- | res/layout-xlarge/configuration_wizard_activity.xml | 1 | ||||
-rw-r--r-- | res/layout-xlarge/provider_detail_fragment.xml | 3 | ||||
-rw-r--r-- | res/layout-xlarge/provider_list_fragment.xml | 5 | ||||
-rw-r--r-- | res/layout-xlarge/provider_list_item.xml | 44 |
4 files changed, 51 insertions, 2 deletions
diff --git a/res/layout-xlarge/configuration_wizard_activity.xml b/res/layout-xlarge/configuration_wizard_activity.xml index f3d0e48b..bb169e00 100644 --- a/res/layout-xlarge/configuration_wizard_activity.xml +++ b/res/layout-xlarge/configuration_wizard_activity.xml @@ -19,6 +19,7 @@ android:fadingEdge="horizontal" android:singleLine="true" android:text="@string/configuring_provider" + android:textSize="24sp" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_centerHorizontal="true" android:textColor="@android:color/holo_blue_bright" /> diff --git a/res/layout-xlarge/provider_detail_fragment.xml b/res/layout-xlarge/provider_detail_fragment.xml index eb90fad9..4abbaa17 100644 --- a/res/layout-xlarge/provider_detail_fragment.xml +++ b/res/layout-xlarge/provider_detail_fragment.xml @@ -12,6 +12,7 @@ android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:layout_marginTop="16dp" + android:textSize="32sp" android:textAppearance="?android:attr/textAppearanceLarge" android:textStyle="bold" /> @@ -23,6 +24,7 @@ android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:layout_marginBottom="4dp" + android:textSize="24sp" android:textStyle="italic" android:textAppearance="?android:attr/textAppearanceMedium" /> @@ -34,6 +36,7 @@ android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:layout_marginBottom="4dp" + android:textSize="18sp" android:textStyle="normal" android:textAppearance="?android:attr/textAppearanceSmall" /> diff --git a/res/layout-xlarge/provider_list_fragment.xml b/res/layout-xlarge/provider_list_fragment.xml index 70dbae0d..59dd37d1 100644 --- a/res/layout-xlarge/provider_list_fragment.xml +++ b/res/layout-xlarge/provider_list_fragment.xml @@ -2,8 +2,9 @@ android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:paddingLeft="8dp"
- android:paddingRight="8dp" >
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp"
+ android:paddingTop="12dp" >
<ListView
android:id="@id/android:list"
diff --git a/res/layout-xlarge/provider_list_item.xml b/res/layout-xlarge/provider_list_item.xml new file mode 100644 index 00000000..ec5db117 --- /dev/null +++ b/res/layout-xlarge/provider_list_item.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + 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. +--> + +<TwoLineListItem xmlns:android="http://schemas.android.com/apk/res/android" + android:paddingTop="2dip" + android:paddingBottom="2dip" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:attr/activatedBackgroundIndicator" + android:minHeight="?android:attr/listPreferredItemHeight" + android:mode="twoLine" +> + + <TextView android:id="@android:id/text1" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft" + android:layout_marginTop="6dip" + android:textSize = "32sp" + android:textAppearance="?android:attr/textAppearanceListItem" + /> + + <TextView android:id="@android:id/text2" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@android:id/text1" + android:layout_alignLeft="@android:id/text1" + android:textSize = "24sp" + /> + +</TwoLineListItem> |