Created
February 11, 2019 23:11
-
-
Save CagriAldemir/4370aa80d71d39fc3d9256b3ffa67dbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:tag="cards main container"> | |
<android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/example_card_view" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
card_view:cardBackgroundColor="@android:color/white" | |
card_view:cardCornerRadius="10dp" | |
card_view:cardElevation="5dp" | |
card_view:cardUseCompatPadding="true"> | |
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:id="@+id/txtNameSurname" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_marginStart="8dp" | |
android:layout_marginTop="8dp" | |
android:layout_marginEnd="8dp" | |
android:text="Çağrı Aldemir" | |
android:textColor="#ff5c25" | |
android:textSize="24sp" | |
app:layout_constraintEnd_toStartOf="@+id/txtBirthTime" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="8dp" | |
android:orientation="horizontal" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintStart_toStartOf="@+id/txtNameSurname" | |
app:layout_constraintTop_toBottomOf="@+id/txtNameSurname"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:text="Doğum Tarihi:" /> | |
<TextView | |
android:id="@+id/txtDateOfBirth" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="8dp" | |
android:layout_weight="1" | |
android:text="31.08.1995" /> | |
</LinearLayout> | |
<TextView | |
android:id="@+id/txtBirthTime" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="8dp" | |
android:layout_marginEnd="8dp" | |
android:layout_marginBottom="8dp" | |
android:text="14:45" | |
android:textColor="#05dcad" | |
android:textSize="36sp" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
</android.support.constraint.ConstraintLayout> | |
</android.support.v7.widget.CardView> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment