Use a DialogFragment for ChooseUploadService.

This commit is contained in:
Jimmy Shih
2012-05-16 12:47:43 -07:00
parent 83c3223668
commit bb81fd0542
7 changed files with 199 additions and 484 deletions
@@ -25,24 +25,24 @@ limitations under the License.
<ImageView
android:contentDescription="@string/send_google_maps"
android:src="@drawable/google_maps_icon"
style="@style/UploadServiceChooserImageView" />
style="@style/ChooseUploadServiceImageView" />
<CheckBox
android:id="@+id/send_google_maps"
android:id="@+id/choose_upload_service_maps"
android:text="@string/send_google_maps"
style="@style/UploadServiceChooserCheckBox" />
style="@style/ChooseUploadServiceCheckBox" />
</TableRow>
<TableRow android:id="@+id/send_google_maps_option_row" >
<TableRow android:id="@+id/choose_upload_service_maps_options" >
<RadioGroup
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_width="0dp" >
<RadioButton
android:id="@+id/send_google_new_map"
android:id="@+id/choose_upload_service_new_map"
android:text="@string/send_google_new_map"
style="@style/TextMedium" />
<RadioButton
android:id="@+id/send_google_existing_map"
android:id="@+id/choose_upload_service_existing_map"
android:text="@string/send_google_existing_map"
style="@style/TextMedium" />
</RadioGroup>
@@ -51,21 +51,21 @@ limitations under the License.
<ImageView
android:contentDescription="@string/send_google_fusion_tables"
android:src="@drawable/google_fusion_tables_icon"
style="@style/UploadServiceChooserImageView" />
style="@style/ChooseUploadServiceImageView" />
<CheckBox
android:id="@+id/send_google_fusion_tables"
android:id="@+id/choose_upload_service_fusion_tables"
android:text="@string/send_google_fusion_tables"
style="@style/UploadServiceChooserCheckBox" />
style="@style/ChooseUploadServiceCheckBox" />
</TableRow>
<TableRow>
<ImageView
android:contentDescription="@string/send_google_docs"
android:src="@drawable/google_docs_icon"
style="@style/UploadServiceChooserImageView" />
style="@style/ChooseUploadServiceImageView" />
<CheckBox
android:id="@+id/send_google_docs"
android:id="@+id/choose_upload_service_docs"
android:text="@string/send_google_docs"
style="@style/UploadServiceChooserCheckBox" />
style="@style/ChooseUploadServiceCheckBox" />
</TableRow>
</TableLayout>
</ScrollView>