Skip to content

Commit

Permalink
Another package renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubkinst committed Aug 7, 2015
1 parent 9838d1b commit 8081481
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

### Example
```xml
<com.strv.view.StatefulView
<cz.kinst.jakub.view.StatefulView
android:id="@+id/stateful_view"
android:layout_width="match_parent"
android:layout_height="match_parent">

<!--Your Content Here-->

</com.strv.view.StatefulView>
</cz.kinst.jakub.view.StatefulView>
```
### Optional Attributes
- `app:offlineLayout` Custom layout to show when in OFFLINE state
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.strv.sample.statefulview">
package="cz.kinst.jakub.sample.statefulview">

<application
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.strv.sample.statefulview;
package cz.kinst.jakub.sample.statefulview;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.strv.view.StatefulView;
import cz.kinst.jakub.view.StatefulView;


public class MainActivity extends AppCompatActivity
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,20 @@
android:text="EMPTY"/>
</LinearLayout>

<com.strv.view.StatefulView
<cz.kinst.jakub.view.StatefulView
android:id="@+id/stateful"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:offlineLayout="@layout/custom_placeholder_offline"
app:stateTextAppearance="@style/TextAppearance.AppCompat.Body1">

<!--Your Content Here-->

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Content"/>
</com.strv.view.StatefulView>
</cz.kinst.jakub.view.StatefulView>
</LinearLayout>
2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.strv.view">
package="cz.kinst.jakub.view">

<application
android:allowBackup="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.strv.view;
package cz.kinst.jakub.view;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.strv.view;
package cz.kinst.jakub.view;


public enum ViewState
Expand Down

0 comments on commit 8081481

Please sign in to comment.