Sfoglia il codice sorgente

lint: remove unused resources

AndyScherzinger 8 anni fa
parent
commit
6c92d44ef6

+ 0 - 35
src/main/res/drawable/action_item_btn.xml

@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ownCloud Android client application
-
-  Copyright (C) 2012  Bartek Przybylski
-  Copyright (C) 2015 ownCloud Inc.
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 2,
-  as published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program.  If not, see <http://www.gnu.org/licenses/>.
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:dither="true">
-
-    <item 
-    	android:state_window_focused="false"
-        android:drawable="@android:color/transparent" />
-    <item 
-    	android:state_pressed="true"
-        android:drawable="@drawable/action_item_selected"/>
-    <item 
-    	android:state_focused="true"
-        android:drawable="@drawable/action_item_selected"/>
-    <item
-        android:drawable="@android:color/transparent"/>
-        
-</selector>

BIN
src/main/res/drawable/action_item_selected.9.png


BIN
src/main/res/drawable/arrow_down.png


BIN
src/main/res/drawable/arrow_up.png


+ 0 - 26
src/main/res/drawable/btn.xml

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ownCloud Android client application
-
-  Copyright (C) 2012  Bartek Przybylski
-  Copyright (C) 2015 ownCloud Inc.
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 2,
-  as published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program.  If not, see <http://www.gnu.org/licenses/>.
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-  <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/btn_round_pressed" />
-  <item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/btn_round_pressed" />
-  <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/btn_round_pressed" />
-  <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/btn_round_pressed" />
-  <item android:drawable="@drawable/btn_round"/>
-</selector>

BIN
src/main/res/drawable/btn_cancel.png


+ 0 - 26
src/main/res/drawable/btn_round.xml

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<!--
-  ownCloud Android client application
-
-  Copyright (C) 2012  Bartek Przybylski
-  Copyright (C) 2015 ownCloud Inc.
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 2,
-  as published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program.  If not, see <http://www.gnu.org/licenses/>.
--->
-<shape xmlns:android="http://schemas.android.com/apk/res/android" 
-        android:shape="rectangle"> 
-        <corners android:radius="5dip" />
-        <solid android:color="#aac4d2" /> 
-        <padding android:left="15dp" android:top="5dp" android:right="15dp" android:bottom="5dp" />
-        <stroke android:width="2dip" android:color="#ffffff" />
-</shape>

+ 0 - 26
src/main/res/drawable/btn_round_pressed.xml

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?> 
-<!--
-  ownCloud Android client application
-
-  Copyright (C) 2012  Bartek Przybylski
-  Copyright (C) 2015 ownCloud Inc.
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 2,
-  as published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program.  If not, see <http://www.gnu.org/licenses/>.
--->
-<shape xmlns:android="http://schemas.android.com/apk/res/android" 
-        android:shape="rectangle"> 
-        <corners android:radius="5dip" />
-        <solid android:color="#aac4d2" /> 
-        <padding android:left="15dp" android:top="5dp" android:right="15dp" android:bottom="5dp" />
-        <stroke android:width="5dip" android:color="#ff8000" /> 
-</shape>

+ 0 - 46
src/main/res/drawable/btn_small_round.xml

@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-
-    <!-- pressed state of button, only change: color of actual button -->
-    <item android:state_pressed="true" >
-        <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
-            <!-- shadow, a little down and a little to the right -->
-            <item><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
-                    <gradient android:angle="270" android:endColor="#99000000" android:startColor="#99000000" />
-                </shape></item>
-            <!-- this is the actual button -->
-            <item android:bottom="1px" android:right="1px"><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
-                    <gradient android:angle="270" android:endColor="#47ffffff" android:startColor="#97ffffff" />
-                </shape></item>
-        </layer-list>
-    </item>
- 
-    <!-- focused state of button, only change: color of actual button -->
-    <item android:state_focused="true" >
-        <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
-            <!-- shadow, a little down and a little to the right -->
-            <item><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
-                    <gradient android:angle="270" android:endColor="#22000000" android:startColor="#22000000" />
-                </shape></item>
-            <!-- this is the actual button -->
-            <item android:bottom="1px" android:right="1px"><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
-                    <gradient android:angle="270" android:endColor="#47ffffff" android:startColor="#97ffffff" />
-                </shape></item>
-        </layer-list>
-    </item>

   <!-- normal state of button. Template for other states. -->
-    <item>
-        <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
-            <!-- shadow, a little down and a little to the right -->
-            <item>
-                <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
-                    <gradient android:angle="270" android:endColor="#55000000" android:startColor="#55000000" />
-                </shape></item>
-            <!-- this is the actual button -->
-            <item android:bottom="1px" android:right="1px">
-                <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
-                    <gradient android:angle="270" android:endColor="#47ffffff" android:startColor="#97ffffff" />
-                </shape>
-            </item>
-        </layer-list>
-    </item>
-</selector>

+ 0 - 44
src/main/res/layout/action_item.xml

@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ownCloud Android client application
-
-  Copyright (C) 2012  Bartek Przybylski
-  Copyright (C) 2015 ownCloud Inc.
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 2,
-  as published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program.  If not, see <http://www.gnu.org/licenses/>.
--->
-<LinearLayout
-	xmlns:android="http://schemas.android.com/apk/res/android"
-	android:orientation="horizontal"
-	android:layout_width="fill_parent"
-	android:layout_height="wrap_content" 
-	android:clickable="true"
-	android:focusable="true"
-	android:background="@drawable/action_item_btn">
-        	
-	<ImageView
-		android:id="@+id/icon" 
-		android:layout_width="wrap_content" 
-		android:layout_height="wrap_content"/>
-
-	<TextView 
-		android:id="@+id/title"
-		android:layout_width="fill_parent" 
-		android:layout_height="fill_parent" 
-		android:gravity="center_vertical"
-		android:paddingLeft="@dimen/alternate_half_padding_independent"
-		android:paddingRight="@dimen/alternate_padding_independent"
-		android:text="Chart"
-		android:textColor="#fff"/>
-									         
-</LinearLayout>         

+ 0 - 58
src/main/res/layout/popup.xml

@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ownCloud Android client application
-
-  Copyright (C) 2012  Bartek Przybylski
-  Copyright (C) 2015 ownCloud Inc.
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 2,
-  as published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program.  If not, see <http://www.gnu.org/licenses/>.
--->
-<RelativeLayout 
-  xmlns:android="http://schemas.android.com/apk/res/android"
-    android:layout_width="wrap_content"
-    android:layout_height="wrap_content"
-    >
-      
-  <ScrollView 
-    android:id="@+id/scroller"
-    android:layout_marginTop="@dimen/standard_margin_independent"
-      android:layout_width="wrap_content"
-      android:layout_height="wrap_content"
-      android:background="@drawable/popup"
-      android:fadingEdgeLength="@dimen/alternate_half_padding_independent"
-      android:scrollbars="none">
-        
-      <LinearLayout
-        android:id="@+id/tracks"
-        android:orientation="vertical"
-          android:layout_width="wrap_content"
-          android:layout_height="wrap_content"
-          android:layout_weight="1"
-          android:padding="@dimen/alternate_padding_independent"/>
-       
-  </ScrollView >
-  
-  <ImageView
-        android:id="@+id/arrow_up"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:src="@drawable/arrow_up" />
-        
-  <ImageView
-        android:id="@+id/arrow_down"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_marginTop="@dimen/standard_quarter_margin_negative_independent"
-        android:src="@drawable/arrow_down" android:layout_below="@+id/scroller"/>
-
-</RelativeLayout>