@@ -2,8 +2,8 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.TwentyCodes.android.LocationRinger"
|
package="com.TwentyCodes.android.LocationRinger"
|
||||||
android:installLocation="internalOnly"
|
android:installLocation="internalOnly"
|
||||||
android:versionCode="72"
|
android:versionCode="76"
|
||||||
android:versionName="89bc8aa" >
|
android:versionName="0cf56e8" >
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>
|
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.RingerInformationActivity"
|
android:name=".ui.RingerInformationActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:launchMode="singleTask"/>
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"/>
|
||||||
|
|
||||||
<receiver
|
<receiver
|
||||||
android:name=".receivers.SystemReceiver"
|
android:name=".receivers.SystemReceiver"
|
||||||
|
|||||||
BIN
LocationRinger/res/drawable/appwidget_dark_bg.png
Normal file
BIN
LocationRinger/res/drawable/appwidget_dark_bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -1,30 +1,49 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent" >
|
||||||
android:orientation="vertical" >
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:background="@drawable/appwidget_dark_bg" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/linearLayout1"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:orientation="vertical" >
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/text"
|
||||||
|
style="@style/styleName"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:gravity="center|left"
|
||||||
|
android:text="@string/current_ringer" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_label"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center|left"
|
||||||
|
android:text="test"
|
||||||
|
tools:ignore="HardcodedText" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/widget_get_location_button"
|
android:id="@+id/widget_get_location_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_centerVertical="true"
|
||||||
android:background="@drawable/icon"
|
android:layout_marginRight="10dp"
|
||||||
|
android:layout_toLeftOf="@+id/linearLayout1"
|
||||||
|
android:background="@drawable/ic_launcher"
|
||||||
android:contentDescription="@string/start_location_service" />
|
android:contentDescription="@string/start_location_service" />
|
||||||
|
|
||||||
<TextView
|
</RelativeLayout>
|
||||||
style="@style/styleName"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/current_ringer" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/widget_label"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="test"
|
|
||||||
tools:ignore="HardcodedText" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
@@ -2,6 +2,6 @@
|
|||||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:initialLayout="@layout/get_location_widget"
|
android:initialLayout="@layout/get_location_widget"
|
||||||
android:minHeight="40dp"
|
android:minHeight="40dp"
|
||||||
android:minWidth="110dp"
|
android:minWidth="180dp"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal"
|
||||||
android:updatePeriodMillis="10000" />
|
android:updatePeriodMillis="10000" android:minResizeWidth="180dp" android:minResizeHeight="40dp"/>
|
||||||
|
|||||||
@@ -54,8 +54,7 @@ public class RingtoneFragment extends BaseFeatureFragment implements OnClickList
|
|||||||
private Uri mRingtoneURI;
|
private Uri mRingtoneURI;
|
||||||
private SeekBar mVolume;
|
private SeekBar mVolume;
|
||||||
|
|
||||||
public RingtoneFragment(final ContentValues info, final OnContentChangedListener changedListener, final FeatureRemovedListener removedListener, final int stream,
|
public RingtoneFragment(final ContentValues info, final OnContentChangedListener changedListener, final FeatureRemovedListener removedListener, final int stream, final int id) {
|
||||||
final int id) {
|
|
||||||
super(id, R.layout.ringtone_fragment, removedListener);
|
super(id, R.layout.ringtone_fragment, removedListener);
|
||||||
|
|
||||||
if (info == null)
|
if (info == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user