seperated how and what into diffrent activitys

This commit is contained in:
2011-08-07 00:38:11 +00:00
parent 87417dfc81
commit c7cc1faabb
19 changed files with 778 additions and 513 deletions

View File

@@ -32,7 +32,7 @@
android:hint="@string/address"
android:id="@+id/address"
android:layout_toLeftOf="@id/ok"
/>
android:inputType="textPostalAddress"/>
</RelativeLayout>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- buttons -->
<include
android:id="@+id/buttons"
layout="@layout/ringer_info_button_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"/>
<com.TwentyCodes.android.LocationRinger.ui.ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:id="@+id/scrollview"
android:layout_above="@id/buttons"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<!-- Location Options -->
<include android:id="@+id/map_info"
layout="@layout/map_info"
android:layout_width="match_parent"
android:layout_height="350dip"
android:layout_alignParentBottom="true"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"/>
</RelativeLayout>
</com.TwentyCodes.android.LocationRinger.ui.ScrollView>
</RelativeLayout>

View File

@@ -51,7 +51,7 @@
android:id="@+id/mapview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:apiKey="0rKmsWMM0D-K15bEM_kwabPbNhsn4dp4rcq2q5Q"
android:apiKey="0rKmsWMM0D-KC9KXr1WbA5aEb-2ozQ0SHTvV46g"
android:layout_alignParentBottom="true"
android:layout_below="@id/map_controls"
/>

View File

@@ -40,7 +40,7 @@
android:id="@+id/notification_ringtone"
android:editable="false"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content" android:cursorVisible="false"/>
<TextView
android:text="@string/volume"

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/ringerinfpager">
</android.support.v4.view.ViewPager>
</LinearLayout>

View File

@@ -42,7 +42,7 @@
android:id="@+id/ringtone"
android:editable="false"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content" android:cursorVisible="false"/>
<TextView
android:text="@string/volume"

View File

@@ -25,11 +25,12 @@
android:layout_alignParentTop="true"
android:id="@+id/scrollview"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_alignParentTop="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/ringer_options"
android:layout_alignParentTop="true"
@@ -142,18 +143,8 @@
android:visibility="gone"
/>
</LinearLayout>
</LinearLayout>
<!-- Location Options -->
<include android:id="@+id/map_info"
layout="@layout/map_info"
android:layout_width="match_parent"
android:layout_height="350dip"
android:layout_alignParentBottom="true"
android:layout_below="@id/info"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"/>
</RelativeLayout>
</com.TwentyCodes.android.LocationRinger.ui.ScrollView>
</RelativeLayout>