Skip to content

Commit

Permalink
Some code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ImangazalievM committed Sep 11, 2017
1 parent a088d18 commit 2a2b688
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

CircleMenu circleMenu = (CircleMenu) findViewById(R.id.circleMenu);
CircleMenu circleMenu = (CircleMenu) findViewById(R.id.circle_menu);
circleMenu.setOnItemClickListener(new CircleMenu.OnItemClickListener() {
@Override
public void onItemClick(CircleMenuButton menuButton) {
Expand Down
12 changes: 5 additions & 7 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,21 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#212121"
>
android:background="#212121">

<com.imangazaliev.circlemenu.CircleMenu
android:id="@+id/circleMenu"
android:id="@+id/circle_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
>
android:layout_centerInParent="true">

<com.imangazaliev.circlemenu.CircleMenuButton
android:id="@+id/favorite"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:colorNormal="#2196F3"
app:colorPressed="#1E88E5"
app:icon="@drawable/ic_favorite"
/>
app:icon="@drawable/ic_favorite" />

<com.imangazaliev.circlemenu.CircleMenuButton
android:id="@+id/search"
Expand Down Expand Up @@ -52,6 +49,7 @@
app:colorNormal="#FF9800"
app:colorPressed="#FB8C00"
app:icon="@drawable/ic_edit"/>

</com.imangazaliev.circlemenu.CircleMenu>

</RelativeLayout>
14 changes: 0 additions & 14 deletions library/src/main/res/animator/close_to_menu.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2016. André Mion
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:ordering="sequentially">

Expand Down
14 changes: 0 additions & 14 deletions library/src/main/res/animator/menu_to_close.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2016. André Mion
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:ordering="sequentially">

Expand Down

0 comments on commit 2a2b688

Please sign in to comment.