Skip to content

Commit 1d0e980

Browse files
author
张磊
committed
文件名调整
1 parent 481e70a commit 1d0e980

File tree

20 files changed

+58
-38
lines changed

20 files changed

+58
-38
lines changed

biz-module-newhouse/src/main/java/com/baronzhang/android/newhouse/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class MainActivity extends BaseActivity {
3131
@Override
3232
protected void onCreate(Bundle savedInstanceState) {
3333
super.onCreate(savedInstanceState);
34-
setContentView(R.layout.new_house_activity_new_house_main);
34+
setContentView(R.layout.new_house_activity_main);
3535
unbinder = ButterKnife.bind(this);
3636
ARouter.getInstance().inject(this);
3737

biz-module-newhouse/src/main/res/layout/new_house_activity_new_house_main.xml renamed to biz-module-newhouse/src/main/res/layout/new_house_activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
xmlns:tools="http://schemas.android.com/tools"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7-
tools:context="com.baronzhang.android.newhouse.MainActivity">
7+
tools:context="com.baronzhang.android.newhouse.MainActivity"
8+
tools:ignore="MissingDefaultResource">
89

910
<TextView
1011
android:id="@+id/textView0"

biz-module-renthouse/src/main/debug/AndroidManifest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
<application
66
android:allowBackup="true"
7-
android:icon="@mipmap/im_ic_launcher"
8-
android:label="@string/im_app_name"
7+
android:icon="@mipmap/rent_house_ic_launcher"
8+
android:label="@string/rent_house_app_name"
99
android:supportsRtl="true"
10-
android:theme="@style/IMAppTheme">
10+
android:theme="@style/RentHouseAppTheme">
1111
<activity
1212
android:name="com.baronzhang.android.renthouse.MainActivity"
13-
android:label="@string/im_label_home_page">
13+
android:label="@string/rent_house_label_home_page">
1414
<intent-filter>
1515
<action android:name="android.intent.action.MAIN" />
1616
<category android:name="android.intent.category.LAUNCHER" />

biz-module-renthouse/src/main/java/com/baronzhang/android/renthouse/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class MainActivity extends BaseActivity {
2323
@Override
2424
protected void onCreate(Bundle savedInstanceState) {
2525
super.onCreate(savedInstanceState);
26-
setContentView(R.layout.im_activity_instant_messaging_main);
26+
setContentView(R.layout.rent_house_activity_main);
2727

2828
ARouter.getInstance().inject(this);
2929

biz-module-renthouse/src/main/release/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:supportsRtl="true">
88
<activity
99
android:name="com.baronzhang.android.renthouse.MainActivity"
10-
android:label="@string/im_label_home_page">
10+
android:label="@string/rent_house_label_home_page">
1111
<intent-filter>
1212
<category android:name="android.intent.category.DEFAULT" />
1313
<category android:name="android.intent.category.BROWSABLE" />

biz-module-renthouse/src/main/res/layout/im_activity_instant_messaging_main.xml renamed to biz-module-renthouse/src/main/res/layout/rent_house_activity_main.xml

File renamed without changes.

biz-module-renthouse/src/main/res/mipmap-xxhdpi/im_ic_launcher.png renamed to biz-module-renthouse/src/main/res/mipmap-xxhdpi/rent_house_ic_launcher.png

File renamed without changes.

biz-module-renthouse/src/main/res/mipmap-xxxhdpi/im_ic_launcher.png renamed to biz-module-renthouse/src/main/res/mipmap-xxxhdpi/rent_house_ic_launcher.png

File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="im_colorPrimary">#3F51B5</color>
4-
<color name="im_colorPrimaryDark">#303F9F</color>
5-
<color name="im_colorAccent">#FF4081</color>
3+
<color name="rent_house_colorPrimary">#3F51B5</color>
4+
<color name="rent_house_colorPrimaryDark">#303F9F</color>
5+
<color name="rent_house_colorAccent">#FF4081</color>
66
</resources>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<resources>
22
<!-- Default screen margins, per the Android Design guidelines. -->
3-
<dimen name="im_activity_horizontal_margin">16dp</dimen>
4-
<dimen name="im_activity_vertical_margin">16dp</dimen>
3+
<dimen name="rent_house_activity_horizontal_margin">16dp</dimen>
4+
<dimen name="rent_house_activity_vertical_margin">16dp</dimen>
55
</resources>

0 commit comments

Comments
 (0)