-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package id.sis.chat.ui; | ||
|
||
import android.os.Bundle; | ||
import android.support.design.widget.FloatingActionButton; | ||
|
||
import butterknife.Bind; | ||
import id.zelory.benih.ui.BenihActivity; | ||
import id.zelory.benih.ui.view.BenihRecyclerView; | ||
import id.zelory.sischat.R; | ||
|
||
/** | ||
* Created on : April 11, 2016 | ||
* Author : zetbaitsu | ||
* Name : Zetra | ||
* Email : [email protected] | ||
* GitHub : https://github.com/zetbaitsu | ||
* LinkedIn : https://id.linkedin.com/in/zetbaitsu | ||
*/ | ||
public class RoomsActivity extends BenihActivity { | ||
@Bind(R.id.recycler_view) BenihRecyclerView recyclerView; | ||
@Bind(R.id.button_add_room) FloatingActionButton addRoom; | ||
|
||
@Override | ||
protected int getResourceLayout() { | ||
return R.layout.activity_rooms; | ||
} | ||
|
||
@Override | ||
protected void onViewReady(Bundle savedInstanceState) { | ||
|
||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<android.support.v7.widget.Toolbar | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@color/colorPrimary"> | ||
|
||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:text="SIS Chat" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Title" | ||
android:textColor="#FFF"/> | ||
|
||
<ImageView | ||
android:id="@+id/search" | ||
android:layout_width="48dp" | ||
android:layout_height="48dp" | ||
android:layout_toLeftOf="@+id/settings" | ||
android:layout_toStartOf="@+id/settings" | ||
android:padding="8dp" | ||
android:src="@drawable/places_ic_search" | ||
android:tint="#FFF"/> | ||
|
||
<ImageView | ||
android:id="@+id/settings" | ||
android:layout_width="48dp" | ||
android:layout_height="48dp" | ||
android:layout_alignParentEnd="true" | ||
android:layout_alignParentRight="true" | ||
android:padding="8dp" | ||
android:src="@drawable/common_full_open_on_phone" | ||
android:tint="#FFF"/> | ||
|
||
</RelativeLayout> | ||
|
||
</android.support.v7.widget.Toolbar> | ||
|
||
<id.zelory.benih.ui.view.BenihRecyclerView | ||
android:id="@+id/recycler_view" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_below="@+id/toolbar"/> | ||
|
||
<android.support.design.widget.FloatingActionButton | ||
android:id="@+id/button_add_room" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentBottom="true" | ||
android:layout_alignParentEnd="true" | ||
android:layout_alignParentRight="true" | ||
android:layout_margin="16dp" | ||
android:src="@drawable/places_ic_clear" | ||
android:tint="#FFF"/> | ||
|
||
</RelativeLayout> |