Commit b7b61a3f authored by Grigory Fedorov's avatar Grigory Fedorov

Chat scroll indicator size and location changed.

parent 200c2726
......@@ -63,7 +63,7 @@ public class RecentChatFragment extends ListFragment {
activity.finish();
}
return inflater.inflate(R.layout.list, container, false);
return inflater.inflate(R.layout.recent_chats, container, false);
}
@Override
......
......@@ -37,8 +37,6 @@ public class ChatScrollIndicatorAdapter {
linearLayout.addView(view);
final AccountViewHolder accountViewHolder = new AccountViewHolder(view);
accountViewHolder.body.getBackground().setAlpha(127);
accountViewHolder.selection.getBackground().setAlpha(127);
view.setTag(accountViewHolder);
}
......
......@@ -9,16 +9,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_centerHorizontal="true"
android:layout_marginTop="16dp"
android:layout_marginTop="10dp"
android:id="@+id/chat_scroll_indicator"
>
</LinearLayout>
</RelativeLayout>
\ No newline at end of file
......@@ -10,16 +10,16 @@
<ImageView
android:id="@+id/indicator_item_body"
android:layout_width="8dp"
android:layout_height="8dp"
android:layout_margin="3dp"
android:layout_width="6dp"
android:layout_height="6dp"
android:layout_margin="2dp"
android:background="@color/grey_500"
/>
<View
android:id="@+id/indicator_item_selection"
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_width="10dp"
android:layout_height="10dp"
android:background="@color/grey_500"
android:visibility="gone"
/>
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@android:id/list"
android:layout_marginTop="15dp"
/>
</LinearLayout>
\ 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