
Trovebox-Android-Common - GuiUtils: fixed validateBasicTextData methods to add required string parameter when requesting a resource - res/layout/action_mode_sync.xml: removed duplicate xmlns:android declaration - res/layout/action_mode_sync2.xml: removed duplicate xmlns:android declaration - res/layout/fragment_photo_details.xml: removed image_details id duplicate - res/layout/fragment_sync_select_photos.xml: remved xmlns:app declaration - res/values/strings.xml: fixed notification_upload_multiple_title constant - res/values/styles.xml: fixed textSize attribute to be in sp units for the button_text and TextTitle styles declaration - res/values-ru/strings.xml: added few and many string plurals to the sync_upload_selected_confirmation and number_of_items_selected Trovebox-Android-App - ImageFragment: added FILL_PARENT constant usage for the API level 7 devicesto the onCreateView method - Peferences: updated PREFERENCES_MODE constant to be MODE_PRIVATE - res/layout/activity_account_signup.xml: removed - res/layout/activity_upload.xml: remved app namespace delcaration - res/layout/fragment_profile.xml: remved app namespace delcaration - res/layout/fragment_sync_upload_settings.xml: remved app namespace delcaration - res/layout/fragment_tags.xml: added hint for the edit_search field - res/layout/list_item_newest_photos.xml: removed - res/values/strings.xml, res/values-ru/strings.xml: added enter_tags_manually constant - AndroidManifest.xml: added exported="false" for the UploadsProvider declaration
153 lines
No EOL
6 KiB
XML
153 lines
No EOL
6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:weightSum="1" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="0px"
|
|
android:layout_height="0px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="@dimen/trovebox_site_padding" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<RelativeLayout
|
|
android:layout_width="70dp"
|
|
android:layout_height="70dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="5dp" >
|
|
|
|
<ImageView
|
|
android:id="@+id/image_upload"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:src="@drawable/icon" />
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true"
|
|
android:src="@android:drawable/ic_menu_zoom" />
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical" >
|
|
|
|
<EditText
|
|
android:id="@+id/edit_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/upload_title_hint"
|
|
android:inputType="textCapSentences" />
|
|
|
|
<EditText
|
|
android:id="@+id/edit_albums"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:focusable="false"
|
|
android:focusableInTouchMode="false"
|
|
android:hint="@string/upload_albums"
|
|
android:inputType="none" />
|
|
|
|
<EditText
|
|
android:id="@+id/edit_tags"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:hint="@string/upload_tags"
|
|
android:inputType="textMultiLine" >
|
|
</EditText>
|
|
|
|
<Button
|
|
android:id="@+id/select_tags"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/upload_select_tags" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<EditText
|
|
android:id="@+id/edit_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="left|top"
|
|
android:hint="@string/upload_description"
|
|
android:inputType="textMultiLine|textCapSentences|textLongMessage"
|
|
android:minLines="3"
|
|
android:visibility="gone" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="20dp" />
|
|
|
|
<org.holoeverywhere.widget.Switch
|
|
android:id="@+id/upload_original_switch"
|
|
style="@style/YesNoSwitch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="@string/upload_upload_original"
|
|
android:visibility="gone" />
|
|
|
|
<org.holoeverywhere.widget.Switch
|
|
android:id="@+id/private_switch"
|
|
style="@style/YesNoSwitch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="@string/upload_private" />
|
|
|
|
<org.holoeverywhere.widget.Switch
|
|
android:id="@+id/twitter_switch"
|
|
style="@style/YesNoSwitch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="false"
|
|
android:text="@string/upload_share_twitter" />
|
|
|
|
<org.holoeverywhere.widget.Switch
|
|
android:id="@+id/facebook_switch"
|
|
style="@style/YesNoSwitch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="false"
|
|
android:text="@string/upload_share_facebook" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<Button
|
|
android:id="@+id/button_edit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/upload_image_edit_button" />
|
|
|
|
<Button
|
|
android:id="@+id/button_upload"
|
|
style="@style/Trovebox.YellowButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/upload_button" />
|
|
|
|
</LinearLayout> |