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