Files
vtosters/smali/res/layout/update_status.xml
T
gdlbo b50f56a5d4 Oh, fixes?
-Added styles list for dark and light themes
-Updated libs
-Auto refactored resources for easy editing
-Improved amoled theme
2022-04-23 21:36:08 +03:00

206 lines
8.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical"
android:id="@id/newpost_root"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/appkit_toolbar" />
<ScrollView
android:id="@id/newpost_scroll"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fillViewport="true"
android:layout_weight="1.0">
<LinearLayout
android:orientation="vertical"
android:id="@id/posting_scroll_content"
android:paddingLeft="16.0dip"
android:paddingRight="16.0dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<EditText
android:textSize="15.0dip"
android:textColor="#ff000000"
android:gravity="top"
android:id="@id/status_text_edit"
android:background="#00000000"
android:paddingTop="18.0dip"
android:paddingBottom="18.0dip"
android:scrollbars="none"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="false"
android:inputType="textCapSentences|textMultiLine" />
<View
android:id="@id/newpost_space"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="0.0dip"
android:layout_weight="1.0" />
<com.vtosters.lite.ui.AttachmentsEditorView
android:id="@id/newpost_attachments"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2.0dip"
android:layout_marginBottom="8.0dip" />
<TextView
android:textSize="15.0dip"
android:textColor="@color/name"
android:ellipsize="marquee"
android:gravity="center_vertical"
android:id="@id/attach_title"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8.0dip"
android:layout_marginBottom="8.0dip"
android:singleLine="true"
android:drawableLeft="@drawable/ic_post_signature"
android:drawablePadding="8.0dip"
android:fontFamily="@string/font_family_medium" />
</LinearLayout>
</ScrollView>
<TextView
android:textSize="14.0sp"
android:textColor="#ff909499"
android:ellipsize="middle"
android:id="@id/newpost_images_recent_text_view"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12.0dip"
android:layout_marginRight="12.0dip"
android:layout_marginBottom="8.0dip"
android:text="@string/newsfeed_post_recent_photos" />
<android.support.v7.widget.RecyclerView
android:id="@id/newpost_images_recycler_view"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/newsfeed_newpost_location_item_space" />
<LinearLayout
android:gravity="center|right"
android:id="@id/location_bar"
android:paddingLeft="16.0dip"
android:paddingRight="16.0dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:textSize="14.0sp"
android:textColor="#ff909499"
android:ellipsize="middle"
android:id="@id/newpost_location_address"
android:layout_width="0.0dip"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/newsfeed_newpost_location_item_space"
android:layout_marginRight="@dimen/newsfeed_newpost_space"
android:layout_marginBottom="@dimen/newsfeed_newpost_location_item_space"
android:layout_weight="1.0"
android:layout_marginEnd="@dimen/newsfeed_newpost_space" />
<ImageView
android:id="@id/newpost_friends_only"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/newsfeed_newpost_space"
android:layout_marginTop="@dimen/newsfeed_newpost_location_item_space"
android:layout_marginBottom="@dimen/newsfeed_newpost_location_item_space"
android:src="@drawable/ic_friends_only_20"
android:tint="@color/light_gray" />
<ImageView
android:id="@id/newpost_twitter_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/newsfeed_newpost_space"
android:layout_marginTop="@dimen/newsfeed_newpost_location_item_space"
android:layout_marginBottom="@dimen/newsfeed_newpost_location_item_space"
android:src="@drawable/ic_export_twitter_20"
android:tint="@color/light_gray" />
<ImageView
android:id="@id/newpost_fb_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/newsfeed_newpost_space"
android:layout_marginTop="@dimen/newsfeed_newpost_location_item_space"
android:layout_marginBottom="@dimen/newsfeed_newpost_location_item_space"
android:src="@drawable/ic_export_facebook_20"
android:tint="@color/light_gray" />
</LinearLayout>
<include
android:id="@id/anonymous_block"
layout="@layout/anonymous_check_box" />
<View
android:background="#26000000"
android:layout_width="fill_parent"
android:layout_height="1.0dip"
android:layout_marginTop="@dimen/newsfeed_newpost_location_item_space" />
<LinearLayout
android:gravity="center"
android:id="@id/bottom_bar"
android:paddingLeft="8.0dip"
android:paddingRight="8.0dip"
android:layout_width="fill_parent"
android:layout_height="48.0dip">
<ImageView
android:id="@id/newpost_btn_location"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/ic_place_24"
android:scaleType="center"
android:tint="@color/light_gray"
android:layout_weight="1.0" />
<ImageView
android:id="@id/newpost_btn_mention"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/ic_user_24"
android:scaleType="center"
android:tint="@color/light_gray"
android:layout_weight="1.0" />
<ImageView
android:id="@id/newpost_btn_photo"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/ic_camera_24"
android:scaleType="center"
android:tint="@color/light_gray"
android:layout_weight="1.0" />
<ImageView
android:id="@id/newpost_btn_attach"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/ic_attachment_24"
android:scaleType="center"
android:tint="@color/light_gray"
android:layout_weight="1.0" />
<ImageView
android:id="@id/newpost_btn_settings"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/ic_settings_24"
android:scaleType="center"
android:tint="@color/light_gray"
android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>