2015-09-23 20:39:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="5dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/avatar"
|
2016-01-14 19:56:59 +00:00
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:scaleType="fitCenter"
|
2015-12-06 21:56:09 +00:00
|
|
|
android:layout_width="103dp"
|
|
|
|
|
android:layout_height="90dp" />
|
2015-09-23 20:39:04 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-03-08 19:53:03 +00:00
|
|
|
android:layout_width="0dp"
|
2015-09-23 20:39:04 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="6"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/username"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2016-03-08 19:53:03 +00:00
|
|
|
android:text="@string/username"
|
2015-09-23 20:39:04 +00:00
|
|
|
android:textSize="@dimen/abc_text_size_title_material"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/user_lvl"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="lvl" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="right">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/class_background_layout"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:background="@drawable/layout_rounded_bg">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/class_label"
|
|
|
|
|
style="@style/ChatMessageUserTextViewStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
|
android:ellipsize="middle"
|
|
|
|
|
android:lines="1"
|
2015-11-09 17:59:42 +00:00
|
|
|
android:text="class"
|
|
|
|
|
android:textColor="@color/white" />
|
2015-09-23 20:39:04 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/hpBar"
|
|
|
|
|
layout="@layout/value_bar" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</android.support.v7.widget.CardView>
|