Commit 7db20a89 authored by fallenstardust's avatar fallenstardust

设置我的云卡组布局

parent 17b23399
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
<path android:fillColor="@android:color/white" android:pathData="M12,4.5C7,4.5 2.73,7.61 1,12c1.73,4.39 6,7.5 11,7.5s9.27,-3.11 11,-7.5c-1.73,-4.39 -6,-7.5 -11,-7.5zM12,17c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5zM12,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3 3,-1.34 3,-3 -1.34,-3 -3,-3z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:alpha="0.8" android:height="16.032064dp" android:viewportHeight="1024" android:viewportWidth="1533" android:width="24dp">
<path android:fillColor="#ffffff" android:pathData="M1035.4,348.1l-136.7,136.6a176.3,176.3 0,0 1,1.3 21.4,195.3 195.3,0 0,1 -195.2,194.8 175.7,175.7 0,0 1,-21.3 -1.3L597.7,785.4a449.9,449.9 0,0 0,107.5 12.6c217.8,0 377.8,-174.7 487.9,-289.4a1268.1,1268.1 0,0 0,-157.7 -160.4zM996.3,186.1l-81.1,81.1a452.2,452.2 0,0 0,-210.5 -53.8c-178.3,0 -317.3,111.5 -487.8,292.6 80.6,84.9 154.3,164.4 240.2,219.2l-53.3,53.3 59.3,59.3 592.4,-592.4zM510.2,506.1a194.5,194.5 0,0 1,317.3 -151.1l-57.2,57.2a112.3,112.3 0,0 0,-64.8 -20.6A113.3,113.3 0,0 0,611.7 570.9l-57.9,58.5a193.2,193.2 0,0 1,-44 -123.3z"/>
</vector>
......@@ -9,14 +9,11 @@
android:layout_height="115dp"
android:layout_marginLeft="14dp"
android:layout_marginTop="14dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="10dp"
android:src="@drawable/unknown" />
<ImageView
android:id="@+id/deck_background"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/box"/>
......@@ -27,7 +24,7 @@
android:layout_height="wrap_content" />-->
<LinearLayout
android:layout_width="30dp"
android:layout_width="35dp"
android:layout_height="10dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="5dp"
......
<?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="wrap_content"
android:orientation="vertical">
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/deck_info_image"
android:layout_width="@dimen/card_width_middle"
android:layout_height="@dimen/card_height_middle" />
android:layout_width="80dp"
android:layout_height="115dp"
android:layout_marginLeft="14dp"
android:layout_marginTop="14dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="10dp"
android:src="@drawable/unknown" />
<TextView
android:id="@+id/my_deck_id"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/box"/>
<TextView
android:id="@+id/my_deck_name"
<!-- <TextView
android:id="@+id/my_deck_id"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<!-- <TextView
android:id="@+id/deck_contributor"
android:layout_width="match_parent"
android:layout_height="wrap_content" />-->
android:layout_height="wrap_content" />-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="35dp"
android:layout_height="10dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="5dp"
android:background="@drawable/chat_message_background"
android:orientation="horizontal">
<ImageView
android:id="@+id/show_on_deck_square"
android:layout_width="10dp"
android:layout_height="10dp"
android:layout_marginLeft="1dp"
android:src="@drawable/baseline_remove_red_eye_24"/>
<TextView
android:id="@+id/deck_update_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="left"
android:text="更新" />
android:id="@+id/change_show_or_hide"
android:layout_width="20dp"
android:layout_height="10dp"
android:text="公开中"
android:lines="1"
android:gravity="center"
android:layout_marginLeft="1dp"
android:layout_marginRight="1dp"
android:textSize="5sp"/>
</LinearLayout>
<TextView
android:id="@+id/deck_info_name"
android:layout_width="57dp"
android:layout_height="27dp"
android:layout_marginLeft="28dp"
android:layout_marginTop="93dp"
android:text="deck_name"
android:textColor="@color/white"
android:gravity="center"
android:textSize="8sp"/>
<!-- <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="上传时间" />
<TextView
android:id="@+id/deck_upload_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>-->
<!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/deck_upload_state_img"
android:layout_width="40dp"
android:layout_height="40dp" />
<TextView
android:id="@+id/upload_state"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>-->
<TextView
android:id="@+id/my_deck_name"
android:layout_width="72dp"
android:layout_height="15dp"
android:layout_marginLeft="21dp"
android:layout_marginTop="15dp"
android:text="contributor_name"
android:lines="1"
android:gravity="center"
android:textSize="6sp"/>
</LinearLayout>
\ No newline at end of file
<TextView
android:id="@+id/deck_update_date"
android:layout_width="72dp"
android:layout_height="15dp"
android:layout_marginLeft="21dp"
android:layout_marginTop="122dp"
android:text="1900-02-03"
android:lines="1"
android:gravity="center"
android:textSize="6sp"/>
</FrameLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment