Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelbussa committed Jan 25, 2017
1 parent 706fa9d commit 72d44c5
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 43 deletions.
9 changes: 4 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down Expand Up @@ -27,14 +26,14 @@
xmlns:tools="http://schemas.android.com/tools"
package="rebus.header.view.sample">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".CustomApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:name=".CustomApplication"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme.Drawer"
tools:ignore="AllowBackup,GoogleAppIndexingWarning">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

package rebus.header.view.sample;

import android.os.Bundle;
import android.support.design.widget.NavigationView;
import android.support.v4.content.ContextCompat;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.View;
Expand Down
9 changes: 4 additions & 5 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down Expand Up @@ -42,10 +41,10 @@
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />

<LinearLayout
android:orientation="vertical"
android:layout_below="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent"
android:layout_below="@+id/toolbar"
android:orientation="vertical">

</LinearLayout>

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/menu/drawer.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values-v21/styles.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
3 changes: 1 addition & 2 deletions library/src/main/res/layout/hw_account_chooser.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
7 changes: 3 additions & 4 deletions library/src/main/res/values-ldrtl/bools.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand All @@ -24,7 +23,7 @@
-->

<resources>

<bool name="is_right_to_left">true</bool>

</resources>
3 changes: 1 addition & 2 deletions library/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
3 changes: 1 addition & 2 deletions library/src/main/res/values/bools.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
3 changes: 1 addition & 2 deletions library/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
3 changes: 1 addition & 2 deletions library/src/main/res/values/ids.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ The MIT License (MIT)
~
~ Copyright (c) 2017 Raphaël Bussa
Expand Down
24 changes: 12 additions & 12 deletions library/src/main/res/values/library_headerview_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
-->

<resources>
<string name="define_headerview">year;owner</string>
<string name="library_headerview_author">Raphaël Bussa</string>
<string name="library_headerview_authorWebsite">http://rebus007.altervista.org</string>
<string name="library_headerview_libraryName">Header View</string>
<string name="library_headerview_libraryDescription">Create an header for android.support.design.widget.NavigationView</string>
<string name="library_headerview_libraryWebsite">http://rebus007.github.io/HeaderView/</string>
<string name="library_headerview_libraryVersion">@string/version</string>
<string name="library_headerview_isOpenSource">true</string>
<string name="library_headerview_repositoryLink">https://github.com/rebus007/HeaderView</string>
<string name="library_headerview_licenseId">mit</string>
<string name="library_headerview_owner">Raphaël Bussa</string>
<string name="library_headerview_year">2017</string>
<string name="define_headerview">year;owner</string>
<string name="library_headerview_author">Raphaël Bussa</string>
<string name="library_headerview_authorWebsite">http://rebus007.altervista.org</string>
<string name="library_headerview_libraryName">Header View</string>
<string name="library_headerview_libraryDescription">Create an header for android.support.design.widget.NavigationView</string>
<string name="library_headerview_libraryWebsite">http://rebus007.github.io/HeaderView/</string>
<string name="library_headerview_libraryVersion">@string/version</string>
<string name="library_headerview_isOpenSource">true</string>
<string name="library_headerview_repositoryLink">https://github.com/rebus007/HeaderView</string>
<string name="library_headerview_licenseId">mit</string>
<string name="library_headerview_owner">Raphaël Bussa</string>
<string name="library_headerview_year">2017</string>
</resources>

0 comments on commit 72d44c5

Please sign in to comment.