Custom selectors for menu, Redirect issue logging to paste

This commit is contained in:
TwistedUmbrella 2014-02-03 23:43:52 -05:00
parent 67616a60ce
commit 46577c0957
5 changed files with 27 additions and 10 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Selector style for listrow -->
<item android:drawable="@android:color/transparent" android:state_pressed="false" android:state_selected="false"/>
<item android:drawable="@drawable/gradient_bg_hover" android:state_pressed="true"/>
<item android:drawable="@drawable/gradient_bg_hover" android:state_pressed="false" android:state_selected="true"/>
</selector>

View File

@ -17,7 +17,7 @@
android:orientation="horizontal"
android:clickable="true"
android:focusable="true"
android:background="@android:drawable/list_selector_background" >
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/item_icon"

View File

@ -20,7 +20,8 @@
android:gravity="center_vertical|left"
android:layout_marginLeft="4dp"
android:orientation="horizontal"
android:focusable="true" >
android:focusable="true"
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/browser"
@ -50,7 +51,8 @@
android:gravity="center_vertical|left"
android:layout_marginLeft="26dp"
android:orientation="horizontal"
android:focusable="true" >
android:focusable="true"
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/config"
@ -80,7 +82,8 @@
android:gravity="center_vertical|left"
android:layout_marginLeft="4dp"
android:orientation="horizontal"
android:focusable="true" >
android:focusable="true"
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/options"
@ -110,7 +113,8 @@
android:gravity="center_vertical|left"
android:layout_marginLeft="26dp"
android:orientation="horizontal"
android:focusable="true" >
android:focusable="true"
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/input"
@ -140,7 +144,8 @@
android:gravity="center_vertical|left"
android:layout_marginLeft="4dp"
android:orientation="horizontal"
android:focusable="true" >
android:focusable="true"
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/about"
@ -170,7 +175,8 @@
android:gravity="center_vertical|left"
android:layout_marginLeft="26dp"
android:orientation="horizontal"
android:focusable="true" >
android:focusable="true"
android:background="@drawable/game_selector" >
<ImageView
android:id="@+id/rate"

View File

@ -232,7 +232,7 @@ public class MainActivity extends SlidingFragmentActivity implements
startActivity(new Intent(Intent.ACTION_VIEW, Uri
.parse("market://details?id="
+ getPackageName())));
setTitle(getString(R.string.rateme));
//setTitle(getString(R.string.rateme));
sm.toggle(true);
return true;
} else

View File

@ -234,8 +234,10 @@ public class UploadLogs extends AsyncTask<String, Integer, String> {
}
Intent browserIntent = new Intent(
Intent.ACTION_VIEW,
Uri.parse("https://github.com/reicast/reicast-emulator/issues/new"));
mContext.startActivity(browserIntent);
Uri.parse("https://reicast.loungekatt.com/report"));
// Intent browserIntent = new Intent(
// Intent.ACTION_VIEW,
// Uri.parse("https://github.com/reicast/reicast-emulator/issues/new"));
}
}
}