<androidx.constraintlayout.widget.ConstraintLayout
? ? android:id="@+id/llCategory"
? ? android:layout_width="70dp"
? ? android:layout_height="30dp"
? ? android:gravity="center_vertical"
? ? android:orientation="horizontal"
? ? app:layout_constraintStart_toStartOf="parent"
? ? app:layout_constraintTop_toBottomOf="@+id/vLine">
? ? ? ? android:id="@+id/tvMarkdownRatio"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:ellipsize="end"
? ? ? ? android:maxLines="1"
? ? ? ? android:textColor="@color/poizon_color_text_01"
? ? ? ? app:layout_constrainedWidth="true"
? ? ? ? app:layout_constraintBottom_toBottomOf="parent"
? ? ? ? app:layout_constraintEnd_toStartOf="@+id/tvNumber"
? ? ? ? app:layout_constraintHorizontal_bias="0"
? ? ? ? app:layout_constraintHorizontal_chainStyle="packed"
? ? ? ? app:layout_constraintStart_toStartOf="parent"
? ? ? ? app:layout_constraintTop_toTopOf="parent"
? ? ? ? app:poizonTextStyle="text12Regular"
? ? ? ? tools:text="鞋22222222" />
? ? ? ? android:id="@+id/tvNumber"
? ? ? ? android:layout_width="wrap_content"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:ellipsize="end"
? ? ? ? android:maxLines="1"
? ? ? ? android:textColor="@color/poizon_color_text_01"
? ? ? ? app:layout_constraintBottom_toBottomOf="parent"
? ? ? ? app:layout_constraintEnd_toEndOf="parent"
? ? ? ? app:layout_constraintStart_toEndOf="@+id/tvMarkdownRatio"
? ? ? ? app:layout_constraintTop_toTopOf="parent"
? ? ? ? app:poizonTextStyle="text12Regular"
? ? ? ? tools:text="(2)" />
</androidx.constraintlayout.widget.ConstraintLayout>
ConstraintLayout 倆Textview 優先顯示后面的,前面...
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。
- 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事。” “怎么了?”我有些...
- 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發上,一...
- 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側響起,我...
推薦閱讀更多精彩內容
- 前言 什么是約束布局(ConstraintLayout) 我們可以理解為增強版/升級版的相對布局(Relative...
- Android布局小記 布局系列通用屬性 1.android:layout_width="match_parent...
- 今天跟大家分享一下ConstraintLayout布局的使用,也算是為自己做的筆記吧。 ConstraintLay...
- 介紹 約束布局ConstraintLayout是一個ViewGroup,可以在Api9以上的Android系統使用...
- 、、、 xmlns:app="http://schemas.android.com/apk/res-auto" ...