Browse Source

small ui improvements to main weblog list view

main
Nareshkumar Rao 4 years ago
parent
commit
399a524362
  1. BIN
      app/release/app-release.apk
  2. 11
      app/src/main/res/layout/item_article.xml

BIN
app/release/app-release.apk

Binary file not shown.

11
app/src/main/res/layout/item_article.xml

@ -21,14 +21,17 @@
<TextView <TextView
android:id="@+id/authorText" android:id="@+id/authorText"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginLeft="32dp"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:gravity="right|center_vertical"
android:text="Prof. Max Mustermann" android:text="Prof. Max Mustermann"
android:textColor="@color/black" android:textColor="@color/black"
app:layout_constraintBottom_toBottomOf="@+id/dateText"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/dateText"
app:layout_constraintTop_toTopOf="@+id/dateText" app:layout_constraintTop_toTopOf="@+id/dateText"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
@ -36,21 +39,19 @@
android:id="@+id/titleText" android:id="@+id/titleText"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="Klausurergebnis Android Programmierung - New Android Version" android:text="Klausurergebnis Android Programmierung - New Android Version"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="@+id/authorText" app:layout_constraintEnd_toEndOf="@+id/authorText"
app:layout_constraintStart_toStartOf="@+id/dateText" app:layout_constraintStart_toStartOf="@+id/dateText"
app:layout_constraintTop_toBottomOf="@+id/dateText"
app:layout_constraintTop_toBottomOf="@+id/authorText"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<TextView <TextView
android:id="@+id/contentText" android:id="@+id/contentText"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer risus nibh, viverra non dapibus vel, ullamcorper et nulla. Ut semper ullamcorper tellus eget pulvinar. Quisque nisl dolor, porttitor quis leo at, vehicula aliquet tellus. Nulla vulputate libero at tincidunt blandit. Ut et mi diam. Duis eu nibh dapibus, feugiat nibh nec, tempus ligula. Suspendisse mattis porta accumsan. " android:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer risus nibh, viverra non dapibus vel, ullamcorper et nulla. Ut semper ullamcorper tellus eget pulvinar. Quisque nisl dolor, porttitor quis leo at, vehicula aliquet tellus. Nulla vulputate libero at tincidunt blandit. Ut et mi diam. Duis eu nibh dapibus, feugiat nibh nec, tempus ligula. Suspendisse mattis porta accumsan. "
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

Loading…
Cancel
Save