Snip It
Latest, and last version of Snip It, formerly SnipTease
22
.gitattributes
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
*.sln merge=union
|
||||
*.csproj merge=union
|
||||
*.vbproj merge=union
|
||||
*.fsproj merge=union
|
||||
*.dbproj merge=union
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
215
.gitignore
vendored
Normal file
@ -0,0 +1,215 @@
|
||||
#################
|
||||
## Eclipse
|
||||
#################
|
||||
|
||||
*.pydevproject
|
||||
.project
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.classpath
|
||||
.settings/
|
||||
.loadpath
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# CDT-specific
|
||||
.cproject
|
||||
|
||||
# PDT-specific
|
||||
.buildpath
|
||||
|
||||
|
||||
#################
|
||||
## Visual Studio
|
||||
#################
|
||||
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.sln.docstates
|
||||
|
||||
# Build results
|
||||
|
||||
[Dd]ebug/
|
||||
[Rr]elease/
|
||||
x64/
|
||||
build/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.log
|
||||
*.scc
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# NCrunch
|
||||
*.ncrunch*
|
||||
.*crunch*.local.xml
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.Publish.xml
|
||||
*.pubxml
|
||||
|
||||
# NuGet Packages Directory
|
||||
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
|
||||
#packages/
|
||||
|
||||
# Windows Azure Build Output
|
||||
csx
|
||||
*.build.csdef
|
||||
|
||||
# Windows Store app package directory
|
||||
AppPackages/
|
||||
|
||||
# Others
|
||||
sql/
|
||||
*.Cache
|
||||
ClientBin/
|
||||
[Ss]tyle[Cc]op.*
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.[Pp]ublish.xml
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file to a newer
|
||||
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
|
||||
# SQL Server files
|
||||
App_Data/*.mdf
|
||||
App_Data/*.ldf
|
||||
|
||||
#############
|
||||
## Windows detritus
|
||||
#############
|
||||
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Mac crap
|
||||
.DS_Store
|
||||
|
||||
|
||||
#############
|
||||
## Python
|
||||
#############
|
||||
|
||||
*.py[co]
|
||||
|
||||
# Packages
|
||||
*.egg
|
||||
*.egg-info
|
||||
dist/
|
||||
build/
|
||||
eggs/
|
||||
parts/
|
||||
var/
|
||||
sdist/
|
||||
develop-eggs/
|
||||
.installed.cfg
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.tox
|
||||
|
||||
#Translations
|
||||
*.mo
|
||||
|
||||
#Mr Developer
|
||||
.mr.developer.cfg
|
175
AndroidManifest.xml
Normal file
@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.sniptease"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="14"
|
||||
android:targetSdkVersion="19" />
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.STORAGE" />
|
||||
|
||||
<uses-feature android:name="android.hardware.camera" />
|
||||
<!-- GCM requires a Google account. -->
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||
|
||||
<!-- Keeps the processor from sleeping when a message is received. -->
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
|
||||
<!-- Creates a custom permission so only this app can receive its messages. -->
|
||||
|
||||
<permission
|
||||
android:name="com.example.sniptease.permission.C2D_MESSAGE"
|
||||
android:protectionLevel="signature" />
|
||||
|
||||
<uses-permission android:name="com.example.sniptease.permission.C2D_MESSAGE" />
|
||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
||||
<uses-permission android:name="com.google.android.gcm.GCMConstant.PERMISSION_GCM_INTENTS" />
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/AppTheme" >
|
||||
<receiver
|
||||
android:name="com.google.android.gcm.GCMBroadcastReceiver"
|
||||
android:permission="com.google.android.c2dm.permission.SEND" >
|
||||
<intent-filter>
|
||||
|
||||
<!-- Receives the actual messages. -->
|
||||
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
||||
<!-- Receives the registration id. -->
|
||||
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
|
||||
|
||||
<category android:name="com.example.sniptease" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<activity
|
||||
android:name="com.example.sniptease.MainMenuActivity"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:uiOptions="splitActionBarWhenNarrow" >
|
||||
<meta-data
|
||||
android:name="android.support.UI_OPTIONS"
|
||||
android:value="splitActionBarWhenNarrow" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.LoginActivity"
|
||||
android:label="@string/title_activity_login"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowActionBar="false"
|
||||
android:windowSoftInputMode="adjustPan" >
|
||||
<meta-data
|
||||
android:name="android.app.searchable"
|
||||
android:resource="@xml/searchable" />
|
||||
|
||||
<!-- android:windowSoftInputMode="adjustResize|stateVisible" -->
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.SplashActivity"
|
||||
android:label="@string/title_activity_splash"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowActionBar="false" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.RegisterNewUserActivity"
|
||||
android:label="@string/title_activity_register_new_user"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name="com.example.sniptease.ActionBarNavigation"
|
||||
android:label="ActionBarNavigation" />
|
||||
<activity
|
||||
android:name="com.example.sniptease.SettingsActivity"
|
||||
android:label="@string/title_activity_settings"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity"
|
||||
android:screenOrientation="portrait" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.CameraActivity"
|
||||
android:label="@string/title_activity_camera"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity"
|
||||
android:screenOrientation="portrait" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.EditProfileActivity"
|
||||
android:label="@string/title_activity_edit_profile"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.BrowsePictureActivity"
|
||||
android:label="@string/title_activity_browse_picture" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.MessengerActivity"
|
||||
android:label="@string/title_activity_messenger"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.SnipViewerActivity"
|
||||
android:label="@string/title_activity_snip_viewer"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.QuestionViewerActivity"
|
||||
android:label="@string/title_activity_question_viewer"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.ViewAProfileActivity"
|
||||
android:label="@string/title_activity_view_aprofile"
|
||||
android:parentActivityName="com.example.sniptease.MainMenuActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.MainMenuActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.SnipAttachQuestionActivity"
|
||||
android:label="@string/title_activity_snip_attach_question"
|
||||
android:parentActivityName="com.example.sniptease.CameraActivity" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.sniptease.CameraActivity" />
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.example.sniptease.SnipRecipientsActivity"
|
||||
android:label="@string/title_activity_snip_recipients" >
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
|
||||
|
||||
</manifest>
|
BIN
SnipTease.zip
Normal file
39
TODO
Normal file
@ -0,0 +1,39 @@
|
||||
15 July 2014
|
||||
SnipIT, To do List:
|
||||
1. Functionality:
|
||||
a. Add refresh wheel on swipe down, in news feed
|
||||
b. In "My Profile" Remove interested in, add followers/following counter.
|
||||
Add cover photo display and ability to upload/change it.
|
||||
c. In followers, have the list load with generic profile place holder, then update with actual images
|
||||
d. Add "Edit" button to news feed to allow highlighting of snips for deletion.
|
||||
e. Add "Find new followers" button to news feed. Links to new page to add followers by
|
||||
i. Twitter
|
||||
ii. facebook
|
||||
iii. email
|
||||
iv. text
|
||||
v. search users
|
||||
f. add flags and reporting. All snips have a flag button which lead to a popup menu, option for spam, or inappropriate.
|
||||
after flag, there is a thank-you popup.
|
||||
Each profile viewing is to contain a report user button, with options of spam, inappropriate, or harassment. Displays same thank you popup
|
||||
g. Encrypt passwords with MD5
|
||||
h. Add support for google push notifications, with the toggle in the settings menu.
|
||||
i. Add functionality for "legal" menu in settings.
|
||||
j. Add Button to toggle profile as "private" in settings menu.
|
||||
k. Add Alphabetic sorting bars in Following page.
|
||||
l. Fix overlapping display in Following page
|
||||
m. Add functionality to "remember me" in log in, and session time out.
|
||||
n. Cache News feed, Following list , Chat messages, when navigating away from page
|
||||
o. Android camera support varies between devices. Steps must be taken to support this in CameraActivity.
|
||||
p. On Chat tab, load with generic icon first, then add bitmaps for speed.
|
||||
q. Add \n return characters in messages list preview
|
||||
2. Styling:
|
||||
a. Make snips in news feed 2 column
|
||||
b. In news feed, make caption background bar 80% opaque
|
||||
c. Update checkmark image on news feed
|
||||
d. Complete restyle of "view my profile"
|
||||
e. Complete restyle of settings page
|
||||
f. Complete restyle of followers tab, reformat radiobuttons, add icon for "+"
|
||||
g. Update camera Icon
|
||||
h. Update buttons in viewing profile. Bold text
|
||||
i. Circleize all profile icons, with white border
|
||||
j. Update all icons within the camera
|
595
gen/android/support/v7/appcompat/R.java
Normal file
@ -0,0 +1,595 @@
|
||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*
|
||||
* This class was automatically generated by the
|
||||
* aapt tool from the resource data it found. It
|
||||
* should not be modified by hand.
|
||||
*/
|
||||
package android.support.v7.appcompat;
|
||||
|
||||
public final class R {
|
||||
public static final class anim {
|
||||
public static final int abc_fade_in = 0x7f040000;
|
||||
public static final int abc_fade_out = 0x7f040001;
|
||||
public static final int abc_slide_in_bottom = 0x7f040002;
|
||||
public static final int abc_slide_in_top = 0x7f040003;
|
||||
public static final int abc_slide_out_bottom = 0x7f040004;
|
||||
public static final int abc_slide_out_top = 0x7f040005;
|
||||
}
|
||||
public static final class attr {
|
||||
public static final int actionBarDivider = 0x7f01000b;
|
||||
public static final int actionBarItemBackground = 0x7f01000c;
|
||||
public static final int actionBarSize = 0x7f01000a;
|
||||
public static final int actionBarSplitStyle = 0x7f010008;
|
||||
public static final int actionBarStyle = 0x7f010007;
|
||||
public static final int actionBarTabBarStyle = 0x7f010004;
|
||||
public static final int actionBarTabStyle = 0x7f010003;
|
||||
public static final int actionBarTabTextStyle = 0x7f010005;
|
||||
public static final int actionBarWidgetTheme = 0x7f010009;
|
||||
public static final int actionButtonStyle = 0x7f010012;
|
||||
public static final int actionDropDownStyle = 0x7f010043;
|
||||
public static final int actionLayout = 0x7f01004a;
|
||||
public static final int actionMenuTextAppearance = 0x7f01000d;
|
||||
public static final int actionMenuTextColor = 0x7f01000e;
|
||||
public static final int actionModeBackground = 0x7f010038;
|
||||
public static final int actionModeCloseButtonStyle = 0x7f010037;
|
||||
public static final int actionModeCloseDrawable = 0x7f01003a;
|
||||
public static final int actionModeCopyDrawable = 0x7f01003c;
|
||||
public static final int actionModeCutDrawable = 0x7f01003b;
|
||||
public static final int actionModeFindDrawable = 0x7f010040;
|
||||
public static final int actionModePasteDrawable = 0x7f01003d;
|
||||
public static final int actionModePopupWindowStyle = 0x7f010042;
|
||||
public static final int actionModeSelectAllDrawable = 0x7f01003e;
|
||||
public static final int actionModeShareDrawable = 0x7f01003f;
|
||||
public static final int actionModeSplitBackground = 0x7f010039;
|
||||
public static final int actionModeStyle = 0x7f010036;
|
||||
public static final int actionModeWebSearchDrawable = 0x7f010041;
|
||||
public static final int actionOverflowButtonStyle = 0x7f010006;
|
||||
public static final int actionProviderClass = 0x7f01004c;
|
||||
public static final int actionViewClass = 0x7f01004b;
|
||||
public static final int activityChooserViewStyle = 0x7f010068;
|
||||
public static final int background = 0x7f01002b;
|
||||
public static final int backgroundSplit = 0x7f01002d;
|
||||
public static final int backgroundStacked = 0x7f01002c;
|
||||
public static final int buttonBarButtonStyle = 0x7f010014;
|
||||
public static final int buttonBarStyle = 0x7f010013;
|
||||
public static final int customNavigationLayout = 0x7f01002e;
|
||||
public static final int disableChildrenWhenDisabled = 0x7f010050;
|
||||
public static final int displayOptions = 0x7f010024;
|
||||
public static final int divider = 0x7f01002a;
|
||||
public static final int dividerHorizontal = 0x7f010017;
|
||||
public static final int dividerPadding = 0x7f010052;
|
||||
public static final int dividerVertical = 0x7f010016;
|
||||
public static final int dropDownListViewStyle = 0x7f01001d;
|
||||
public static final int dropdownListPreferredItemHeight = 0x7f010044;
|
||||
public static final int expandActivityOverflowButtonDrawable = 0x7f010067;
|
||||
public static final int height = 0x7f010022;
|
||||
public static final int homeAsUpIndicator = 0x7f01000f;
|
||||
public static final int homeLayout = 0x7f01002f;
|
||||
public static final int icon = 0x7f010028;
|
||||
public static final int iconifiedByDefault = 0x7f010056;
|
||||
public static final int indeterminateProgressStyle = 0x7f010031;
|
||||
public static final int initialActivityCount = 0x7f010066;
|
||||
public static final int isLightTheme = 0x7f010055;
|
||||
public static final int itemPadding = 0x7f010033;
|
||||
public static final int listChoiceBackgroundIndicator = 0x7f010048;
|
||||
public static final int listPopupWindowStyle = 0x7f01001e;
|
||||
public static final int listPreferredItemHeight = 0x7f010018;
|
||||
public static final int listPreferredItemHeightLarge = 0x7f01001a;
|
||||
public static final int listPreferredItemHeightSmall = 0x7f010019;
|
||||
public static final int listPreferredItemPaddingLeft = 0x7f01001b;
|
||||
public static final int listPreferredItemPaddingRight = 0x7f01001c;
|
||||
public static final int logo = 0x7f010029;
|
||||
public static final int navigationMode = 0x7f010023;
|
||||
public static final int paddingEnd = 0x7f010035;
|
||||
public static final int paddingStart = 0x7f010034;
|
||||
public static final int panelMenuListTheme = 0x7f010047;
|
||||
public static final int panelMenuListWidth = 0x7f010046;
|
||||
public static final int popupMenuStyle = 0x7f010045;
|
||||
public static final int popupPromptView = 0x7f01004f;
|
||||
public static final int progressBarPadding = 0x7f010032;
|
||||
public static final int progressBarStyle = 0x7f010030;
|
||||
public static final int prompt = 0x7f01004d;
|
||||
public static final int queryHint = 0x7f010057;
|
||||
public static final int searchDropdownBackground = 0x7f010058;
|
||||
public static final int searchResultListItemHeight = 0x7f010061;
|
||||
public static final int searchViewAutoCompleteTextView = 0x7f010065;
|
||||
public static final int searchViewCloseIcon = 0x7f010059;
|
||||
public static final int searchViewEditQuery = 0x7f01005d;
|
||||
public static final int searchViewEditQueryBackground = 0x7f01005e;
|
||||
public static final int searchViewGoIcon = 0x7f01005a;
|
||||
public static final int searchViewSearchIcon = 0x7f01005b;
|
||||
public static final int searchViewTextField = 0x7f01005f;
|
||||
public static final int searchViewTextFieldRight = 0x7f010060;
|
||||
public static final int searchViewVoiceIcon = 0x7f01005c;
|
||||
public static final int selectableItemBackground = 0x7f010015;
|
||||
public static final int showAsAction = 0x7f010049;
|
||||
public static final int showDividers = 0x7f010051;
|
||||
public static final int spinnerDropDownItemStyle = 0x7f010054;
|
||||
public static final int spinnerMode = 0x7f01004e;
|
||||
public static final int spinnerStyle = 0x7f010053;
|
||||
public static final int subtitle = 0x7f010025;
|
||||
public static final int subtitleTextStyle = 0x7f010027;
|
||||
public static final int textAllCaps = 0x7f010069;
|
||||
public static final int textAppearanceLargePopupMenu = 0x7f010010;
|
||||
public static final int textAppearanceListItem = 0x7f01001f;
|
||||
public static final int textAppearanceListItemSmall = 0x7f010020;
|
||||
public static final int textAppearanceSearchResultSubtitle = 0x7f010063;
|
||||
public static final int textAppearanceSearchResultTitle = 0x7f010062;
|
||||
public static final int textAppearanceSmallPopupMenu = 0x7f010011;
|
||||
public static final int textColorSearchUrl = 0x7f010064;
|
||||
public static final int title = 0x7f010021;
|
||||
public static final int titleTextStyle = 0x7f010026;
|
||||
public static final int windowActionBar = 0x7f010000;
|
||||
public static final int windowActionBarOverlay = 0x7f010001;
|
||||
public static final int windowSplitActionBar = 0x7f010002;
|
||||
}
|
||||
public static final class bool {
|
||||
public static final int abc_action_bar_embed_tabs_pre_jb = 0x7f070000;
|
||||
public static final int abc_action_bar_expanded_action_views_exclusive = 0x7f070001;
|
||||
public static final int abc_config_actionMenuItemAllCaps = 0x7f070005;
|
||||
public static final int abc_config_allowActionMenuItemTextWithIcon = 0x7f070004;
|
||||
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent = 0x7f070003;
|
||||
public static final int abc_split_action_bar_is_narrow = 0x7f070002;
|
||||
}
|
||||
public static final class color {
|
||||
public static final int abc_search_url_text_holo = 0x7f080003;
|
||||
public static final int abc_search_url_text_normal = 0x7f080000;
|
||||
public static final int abc_search_url_text_pressed = 0x7f080002;
|
||||
public static final int abc_search_url_text_selected = 0x7f080001;
|
||||
}
|
||||
public static final class dimen {
|
||||
public static final int abc_action_bar_default_height = 0x7f090002;
|
||||
public static final int abc_action_bar_icon_vertical_padding = 0x7f090003;
|
||||
public static final int abc_action_bar_progress_bar_size = 0x7f09000a;
|
||||
public static final int abc_action_bar_stacked_max_height = 0x7f090009;
|
||||
public static final int abc_action_bar_stacked_tab_max_width = 0x7f090001;
|
||||
public static final int abc_action_bar_subtitle_bottom_margin = 0x7f090007;
|
||||
public static final int abc_action_bar_subtitle_text_size = 0x7f090005;
|
||||
public static final int abc_action_bar_subtitle_top_margin = 0x7f090006;
|
||||
public static final int abc_action_bar_title_text_size = 0x7f090004;
|
||||
public static final int abc_action_button_min_width = 0x7f090008;
|
||||
public static final int abc_config_prefDialogWidth = 0x7f090000;
|
||||
public static final int abc_dropdownitem_icon_width = 0x7f090010;
|
||||
public static final int abc_dropdownitem_text_padding_left = 0x7f09000e;
|
||||
public static final int abc_dropdownitem_text_padding_right = 0x7f09000f;
|
||||
public static final int abc_panel_menu_list_width = 0x7f09000b;
|
||||
public static final int abc_search_view_preferred_width = 0x7f09000d;
|
||||
public static final int abc_search_view_text_min_width = 0x7f09000c;
|
||||
}
|
||||
public static final class drawable {
|
||||
public static final int abc_ab_bottom_solid_dark_holo = 0x7f020000;
|
||||
public static final int abc_ab_bottom_solid_light_holo = 0x7f020001;
|
||||
public static final int abc_ab_bottom_transparent_dark_holo = 0x7f020002;
|
||||
public static final int abc_ab_bottom_transparent_light_holo = 0x7f020003;
|
||||
public static final int abc_ab_share_pack_holo_dark = 0x7f020004;
|
||||
public static final int abc_ab_share_pack_holo_light = 0x7f020005;
|
||||
public static final int abc_ab_solid_dark_holo = 0x7f020006;
|
||||
public static final int abc_ab_solid_light_holo = 0x7f020007;
|
||||
public static final int abc_ab_stacked_solid_dark_holo = 0x7f020008;
|
||||
public static final int abc_ab_stacked_solid_light_holo = 0x7f020009;
|
||||
public static final int abc_ab_stacked_transparent_dark_holo = 0x7f02000a;
|
||||
public static final int abc_ab_stacked_transparent_light_holo = 0x7f02000b;
|
||||
public static final int abc_ab_transparent_dark_holo = 0x7f02000c;
|
||||
public static final int abc_ab_transparent_light_holo = 0x7f02000d;
|
||||
public static final int abc_cab_background_bottom_holo_dark = 0x7f02000e;
|
||||
public static final int abc_cab_background_bottom_holo_light = 0x7f02000f;
|
||||
public static final int abc_cab_background_top_holo_dark = 0x7f020010;
|
||||
public static final int abc_cab_background_top_holo_light = 0x7f020011;
|
||||
public static final int abc_ic_ab_back_holo_dark = 0x7f020012;
|
||||
public static final int abc_ic_ab_back_holo_light = 0x7f020013;
|
||||
public static final int abc_ic_cab_done_holo_dark = 0x7f020014;
|
||||
public static final int abc_ic_cab_done_holo_light = 0x7f020015;
|
||||
public static final int abc_ic_clear = 0x7f020016;
|
||||
public static final int abc_ic_clear_disabled = 0x7f020017;
|
||||
public static final int abc_ic_clear_holo_light = 0x7f020018;
|
||||
public static final int abc_ic_clear_normal = 0x7f020019;
|
||||
public static final int abc_ic_clear_search_api_disabled_holo_light = 0x7f02001a;
|
||||
public static final int abc_ic_clear_search_api_holo_light = 0x7f02001b;
|
||||
public static final int abc_ic_commit_search_api_holo_dark = 0x7f02001c;
|
||||
public static final int abc_ic_commit_search_api_holo_light = 0x7f02001d;
|
||||
public static final int abc_ic_go = 0x7f02001e;
|
||||
public static final int abc_ic_go_search_api_holo_light = 0x7f02001f;
|
||||
public static final int abc_ic_menu_moreoverflow_normal_holo_dark = 0x7f020020;
|
||||
public static final int abc_ic_menu_moreoverflow_normal_holo_light = 0x7f020021;
|
||||
public static final int abc_ic_menu_share_holo_dark = 0x7f020022;
|
||||
public static final int abc_ic_menu_share_holo_light = 0x7f020023;
|
||||
public static final int abc_ic_search = 0x7f020024;
|
||||
public static final int abc_ic_search_api_holo_light = 0x7f020025;
|
||||
public static final int abc_ic_voice_search = 0x7f020026;
|
||||
public static final int abc_ic_voice_search_api_holo_light = 0x7f020027;
|
||||
public static final int abc_item_background_holo_dark = 0x7f020028;
|
||||
public static final int abc_item_background_holo_light = 0x7f020029;
|
||||
public static final int abc_list_divider_holo_dark = 0x7f02002a;
|
||||
public static final int abc_list_divider_holo_light = 0x7f02002b;
|
||||
public static final int abc_list_focused_holo = 0x7f02002c;
|
||||
public static final int abc_list_longpressed_holo = 0x7f02002d;
|
||||
public static final int abc_list_pressed_holo_dark = 0x7f02002e;
|
||||
public static final int abc_list_pressed_holo_light = 0x7f02002f;
|
||||
public static final int abc_list_selector_background_transition_holo_dark = 0x7f020030;
|
||||
public static final int abc_list_selector_background_transition_holo_light = 0x7f020031;
|
||||
public static final int abc_list_selector_disabled_holo_dark = 0x7f020032;
|
||||
public static final int abc_list_selector_disabled_holo_light = 0x7f020033;
|
||||
public static final int abc_list_selector_holo_dark = 0x7f020034;
|
||||
public static final int abc_list_selector_holo_light = 0x7f020035;
|
||||
public static final int abc_menu_dropdown_panel_holo_dark = 0x7f020036;
|
||||
public static final int abc_menu_dropdown_panel_holo_light = 0x7f020037;
|
||||
public static final int abc_menu_hardkey_panel_holo_dark = 0x7f020038;
|
||||
public static final int abc_menu_hardkey_panel_holo_light = 0x7f020039;
|
||||
public static final int abc_search_dropdown_dark = 0x7f02003a;
|
||||
public static final int abc_search_dropdown_light = 0x7f02003b;
|
||||
public static final int abc_spinner_ab_default_holo_dark = 0x7f02003c;
|
||||
public static final int abc_spinner_ab_default_holo_light = 0x7f02003d;
|
||||
public static final int abc_spinner_ab_disabled_holo_dark = 0x7f02003e;
|
||||
public static final int abc_spinner_ab_disabled_holo_light = 0x7f02003f;
|
||||
public static final int abc_spinner_ab_focused_holo_dark = 0x7f020040;
|
||||
public static final int abc_spinner_ab_focused_holo_light = 0x7f020041;
|
||||
public static final int abc_spinner_ab_holo_dark = 0x7f020042;
|
||||
public static final int abc_spinner_ab_holo_light = 0x7f020043;
|
||||
public static final int abc_spinner_ab_pressed_holo_dark = 0x7f020044;
|
||||
public static final int abc_spinner_ab_pressed_holo_light = 0x7f020045;
|
||||
public static final int abc_tab_indicator_ab_holo = 0x7f020046;
|
||||
public static final int abc_tab_selected_focused_holo = 0x7f020047;
|
||||
public static final int abc_tab_selected_holo = 0x7f020048;
|
||||
public static final int abc_tab_selected_pressed_holo = 0x7f020049;
|
||||
public static final int abc_tab_unselected_pressed_holo = 0x7f02004a;
|
||||
public static final int abc_textfield_search_default_holo_dark = 0x7f02004b;
|
||||
public static final int abc_textfield_search_default_holo_light = 0x7f02004c;
|
||||
public static final int abc_textfield_search_right_default_holo_dark = 0x7f02004d;
|
||||
public static final int abc_textfield_search_right_default_holo_light = 0x7f02004e;
|
||||
public static final int abc_textfield_search_right_selected_holo_dark = 0x7f02004f;
|
||||
public static final int abc_textfield_search_right_selected_holo_light = 0x7f020050;
|
||||
public static final int abc_textfield_search_selected_holo_dark = 0x7f020051;
|
||||
public static final int abc_textfield_search_selected_holo_light = 0x7f020052;
|
||||
public static final int abc_textfield_searchview_holo_dark = 0x7f020053;
|
||||
public static final int abc_textfield_searchview_holo_light = 0x7f020054;
|
||||
public static final int abc_textfield_searchview_right_holo_dark = 0x7f020055;
|
||||
public static final int abc_textfield_searchview_right_holo_light = 0x7f020056;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int action_bar = 0x7f06001c;
|
||||
public static final int action_bar_activity_content = 0x7f060015;
|
||||
public static final int action_bar_container = 0x7f06001b;
|
||||
public static final int action_bar_overlay_layout = 0x7f06001f;
|
||||
public static final int action_bar_root = 0x7f06001a;
|
||||
public static final int action_bar_subtitle = 0x7f060023;
|
||||
public static final int action_bar_title = 0x7f060022;
|
||||
public static final int action_context_bar = 0x7f06001d;
|
||||
public static final int action_menu_divider = 0x7f060016;
|
||||
public static final int action_menu_presenter = 0x7f060017;
|
||||
public static final int action_mode_close_button = 0x7f060024;
|
||||
public static final int activity_chooser_view_content = 0x7f060025;
|
||||
public static final int always = 0x7f06000b;
|
||||
public static final int beginning = 0x7f060011;
|
||||
public static final int checkbox = 0x7f06002d;
|
||||
public static final int collapseActionView = 0x7f06000d;
|
||||
public static final int default_activity_button = 0x7f060028;
|
||||
public static final int dialog = 0x7f06000e;
|
||||
public static final int disableHome = 0x7f060008;
|
||||
public static final int dropdown = 0x7f06000f;
|
||||
public static final int edit_query = 0x7f060030;
|
||||
public static final int end = 0x7f060013;
|
||||
public static final int expand_activities_button = 0x7f060026;
|
||||
public static final int expanded_menu = 0x7f06002c;
|
||||
public static final int home = 0x7f060014;
|
||||
public static final int homeAsUp = 0x7f060005;
|
||||
public static final int icon = 0x7f06002a;
|
||||
public static final int ifRoom = 0x7f06000a;
|
||||
public static final int image = 0x7f060027;
|
||||
public static final int listMode = 0x7f060001;
|
||||
public static final int list_item = 0x7f060029;
|
||||
public static final int middle = 0x7f060012;
|
||||
public static final int never = 0x7f060009;
|
||||
public static final int none = 0x7f060010;
|
||||
public static final int normal = 0x7f060000;
|
||||
public static final int progress_circular = 0x7f060018;
|
||||
public static final int progress_horizontal = 0x7f060019;
|
||||
public static final int radio = 0x7f06002f;
|
||||
public static final int search_badge = 0x7f060032;
|
||||
public static final int search_bar = 0x7f060031;
|
||||
public static final int search_button = 0x7f060033;
|
||||
public static final int search_close_btn = 0x7f060038;
|
||||
public static final int search_edit_frame = 0x7f060034;
|
||||
public static final int search_go_btn = 0x7f06003a;
|
||||
public static final int search_mag_icon = 0x7f060035;
|
||||
public static final int search_plate = 0x7f060036;
|
||||
public static final int search_src_text = 0x7f060037;
|
||||
public static final int search_voice_btn = 0x7f06003b;
|
||||
public static final int shortcut = 0x7f06002e;
|
||||
public static final int showCustom = 0x7f060007;
|
||||
public static final int showHome = 0x7f060004;
|
||||
public static final int showTitle = 0x7f060006;
|
||||
public static final int split_action_bar = 0x7f06001e;
|
||||
public static final int submit_area = 0x7f060039;
|
||||
public static final int tabMode = 0x7f060002;
|
||||
public static final int title = 0x7f06002b;
|
||||
public static final int top_action_bar = 0x7f060020;
|
||||
public static final int up = 0x7f060021;
|
||||
public static final int useLogo = 0x7f060003;
|
||||
public static final int withText = 0x7f06000c;
|
||||
}
|
||||
public static final class integer {
|
||||
public static final int abc_max_action_buttons = 0x7f0a0000;
|
||||
}
|
||||
public static final class layout {
|
||||
public static final int abc_action_bar_decor = 0x7f030000;
|
||||
public static final int abc_action_bar_decor_include = 0x7f030001;
|
||||
public static final int abc_action_bar_decor_overlay = 0x7f030002;
|
||||
public static final int abc_action_bar_home = 0x7f030003;
|
||||
public static final int abc_action_bar_tab = 0x7f030004;
|
||||
public static final int abc_action_bar_tabbar = 0x7f030005;
|
||||
public static final int abc_action_bar_title_item = 0x7f030006;
|
||||
public static final int abc_action_bar_view_list_nav_layout = 0x7f030007;
|
||||
public static final int abc_action_menu_item_layout = 0x7f030008;
|
||||
public static final int abc_action_menu_layout = 0x7f030009;
|
||||
public static final int abc_action_mode_bar = 0x7f03000a;
|
||||
public static final int abc_action_mode_close_item = 0x7f03000b;
|
||||
public static final int abc_activity_chooser_view = 0x7f03000c;
|
||||
public static final int abc_activity_chooser_view_include = 0x7f03000d;
|
||||
public static final int abc_activity_chooser_view_list_item = 0x7f03000e;
|
||||
public static final int abc_expanded_menu_layout = 0x7f03000f;
|
||||
public static final int abc_list_menu_item_checkbox = 0x7f030010;
|
||||
public static final int abc_list_menu_item_icon = 0x7f030011;
|
||||
public static final int abc_list_menu_item_layout = 0x7f030012;
|
||||
public static final int abc_list_menu_item_radio = 0x7f030013;
|
||||
public static final int abc_popup_menu_item_layout = 0x7f030014;
|
||||
public static final int abc_search_dropdown_item_icons_2line = 0x7f030015;
|
||||
public static final int abc_search_view = 0x7f030016;
|
||||
public static final int support_simple_spinner_dropdown_item = 0x7f030034;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int abc_action_bar_home_description = 0x7f0b0001;
|
||||
public static final int abc_action_bar_up_description = 0x7f0b0002;
|
||||
public static final int abc_action_menu_overflow_description = 0x7f0b0003;
|
||||
public static final int abc_action_mode_done = 0x7f0b0000;
|
||||
public static final int abc_activity_chooser_view_see_all = 0x7f0b000a;
|
||||
public static final int abc_activitychooserview_choose_application = 0x7f0b0009;
|
||||
public static final int abc_searchview_description_clear = 0x7f0b0006;
|
||||
public static final int abc_searchview_description_query = 0x7f0b0005;
|
||||
public static final int abc_searchview_description_search = 0x7f0b0004;
|
||||
public static final int abc_searchview_description_submit = 0x7f0b0007;
|
||||
public static final int abc_searchview_description_voice = 0x7f0b0008;
|
||||
public static final int abc_shareactionprovider_share_with = 0x7f0b000c;
|
||||
public static final int abc_shareactionprovider_share_with_application = 0x7f0b000b;
|
||||
}
|
||||
public static final class style {
|
||||
public static final int TextAppearance_AppCompat_Base_CompactMenu_Dialog = 0x7f0c0063;
|
||||
public static final int TextAppearance_AppCompat_Base_SearchResult = 0x7f0c006d;
|
||||
public static final int TextAppearance_AppCompat_Base_SearchResult_Subtitle = 0x7f0c006f;
|
||||
public static final int TextAppearance_AppCompat_Base_SearchResult_Title = 0x7f0c006e;
|
||||
public static final int TextAppearance_AppCompat_Base_Widget_PopupMenu_Large = 0x7f0c0069;
|
||||
public static final int TextAppearance_AppCompat_Base_Widget_PopupMenu_Small = 0x7f0c006a;
|
||||
public static final int TextAppearance_AppCompat_Light_Base_SearchResult = 0x7f0c0070;
|
||||
public static final int TextAppearance_AppCompat_Light_Base_SearchResult_Subtitle = 0x7f0c0072;
|
||||
public static final int TextAppearance_AppCompat_Light_Base_SearchResult_Title = 0x7f0c0071;
|
||||
public static final int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Large = 0x7f0c006b;
|
||||
public static final int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Small = 0x7f0c006c;
|
||||
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle = 0x7f0c0035;
|
||||
public static final int TextAppearance_AppCompat_Light_SearchResult_Title = 0x7f0c0034;
|
||||
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = 0x7f0c0030;
|
||||
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = 0x7f0c0031;
|
||||
public static final int TextAppearance_AppCompat_SearchResult_Subtitle = 0x7f0c0033;
|
||||
public static final int TextAppearance_AppCompat_SearchResult_Title = 0x7f0c0032;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu = 0x7f0c001a;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle = 0x7f0c0006;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = 0x7f0c0008;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title = 0x7f0c0005;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = 0x7f0c0007;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle = 0x7f0c001e;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse = 0x7f0c0020;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title = 0x7f0c001d;
|
||||
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse = 0x7f0c001f;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionBar_Menu = 0x7f0c0054;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle = 0x7f0c0056;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle_Inverse = 0x7f0c0058;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionBar_Title = 0x7f0c0055;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionBar_Title_Inverse = 0x7f0c0057;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle = 0x7f0c0051;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle_Inverse = 0x7f0c0053;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionMode_Title = 0x7f0c0050;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_ActionMode_Title_Inverse = 0x7f0c0052;
|
||||
public static final int TextAppearance_AppCompat_Widget_Base_DropDownItem = 0x7f0c0061;
|
||||
public static final int TextAppearance_AppCompat_Widget_DropDownItem = 0x7f0c0021;
|
||||
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large = 0x7f0c002e;
|
||||
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small = 0x7f0c002f;
|
||||
public static final int TextAppearance_Widget_AppCompat_Base_ExpandedMenu_Item = 0x7f0c0062;
|
||||
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item = 0x7f0c0028;
|
||||
public static final int Theme_AppCompat = 0x7f0c0077;
|
||||
public static final int Theme_AppCompat_Base_CompactMenu = 0x7f0c0081;
|
||||
public static final int Theme_AppCompat_Base_CompactMenu_Dialog = 0x7f0c0082;
|
||||
public static final int Theme_AppCompat_CompactMenu = 0x7f0c007a;
|
||||
public static final int Theme_AppCompat_CompactMenu_Dialog = 0x7f0c007b;
|
||||
public static final int Theme_AppCompat_Light = 0x7f0c0078;
|
||||
public static final int Theme_AppCompat_Light_DarkActionBar = 0x7f0c0079;
|
||||
public static final int Theme_Base = 0x7f0c007c;
|
||||
public static final int Theme_Base_AppCompat = 0x7f0c007e;
|
||||
public static final int Theme_Base_AppCompat_Light = 0x7f0c007f;
|
||||
public static final int Theme_Base_AppCompat_Light_DarkActionBar = 0x7f0c0080;
|
||||
public static final int Theme_Base_Light = 0x7f0c007d;
|
||||
public static final int Widget_AppCompat_ActionBar = 0x7f0c0000;
|
||||
public static final int Widget_AppCompat_ActionBar_Solid = 0x7f0c0002;
|
||||
public static final int Widget_AppCompat_ActionBar_TabBar = 0x7f0c0011;
|
||||
public static final int Widget_AppCompat_ActionBar_TabText = 0x7f0c0017;
|
||||
public static final int Widget_AppCompat_ActionBar_TabView = 0x7f0c0014;
|
||||
public static final int Widget_AppCompat_ActionButton = 0x7f0c000b;
|
||||
public static final int Widget_AppCompat_ActionButton_CloseMode = 0x7f0c000d;
|
||||
public static final int Widget_AppCompat_ActionButton_Overflow = 0x7f0c000f;
|
||||
public static final int Widget_AppCompat_ActionMode = 0x7f0c001b;
|
||||
public static final int Widget_AppCompat_ActivityChooserView = 0x7f0c0038;
|
||||
public static final int Widget_AppCompat_AutoCompleteTextView = 0x7f0c0036;
|
||||
public static final int Widget_AppCompat_Base_ActionBar = 0x7f0c003a;
|
||||
public static final int Widget_AppCompat_Base_ActionBar_Solid = 0x7f0c003c;
|
||||
public static final int Widget_AppCompat_Base_ActionBar_TabBar = 0x7f0c0045;
|
||||
public static final int Widget_AppCompat_Base_ActionBar_TabText = 0x7f0c004b;
|
||||
public static final int Widget_AppCompat_Base_ActionBar_TabView = 0x7f0c0048;
|
||||
public static final int Widget_AppCompat_Base_ActionButton = 0x7f0c003f;
|
||||
public static final int Widget_AppCompat_Base_ActionButton_CloseMode = 0x7f0c0041;
|
||||
public static final int Widget_AppCompat_Base_ActionButton_Overflow = 0x7f0c0043;
|
||||
public static final int Widget_AppCompat_Base_ActionMode = 0x7f0c004e;
|
||||
public static final int Widget_AppCompat_Base_ActivityChooserView = 0x7f0c0075;
|
||||
public static final int Widget_AppCompat_Base_AutoCompleteTextView = 0x7f0c0073;
|
||||
public static final int Widget_AppCompat_Base_DropDownItem_Spinner = 0x7f0c005d;
|
||||
public static final int Widget_AppCompat_Base_ListPopupWindow = 0x7f0c0065;
|
||||
public static final int Widget_AppCompat_Base_ListView_DropDown = 0x7f0c005f;
|
||||
public static final int Widget_AppCompat_Base_ListView_Menu = 0x7f0c0064;
|
||||
public static final int Widget_AppCompat_Base_PopupMenu = 0x7f0c0067;
|
||||
public static final int Widget_AppCompat_Base_ProgressBar = 0x7f0c005a;
|
||||
public static final int Widget_AppCompat_Base_ProgressBar_Horizontal = 0x7f0c0059;
|
||||
public static final int Widget_AppCompat_Base_Spinner = 0x7f0c005b;
|
||||
public static final int Widget_AppCompat_DropDownItem_Spinner = 0x7f0c0024;
|
||||
public static final int Widget_AppCompat_Light_ActionBar = 0x7f0c0001;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_Solid = 0x7f0c0003;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse = 0x7f0c0004;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_TabBar = 0x7f0c0012;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse = 0x7f0c0013;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_TabText = 0x7f0c0018;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse = 0x7f0c0019;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_TabView = 0x7f0c0015;
|
||||
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse = 0x7f0c0016;
|
||||
public static final int Widget_AppCompat_Light_ActionButton = 0x7f0c000c;
|
||||
public static final int Widget_AppCompat_Light_ActionButton_CloseMode = 0x7f0c000e;
|
||||
public static final int Widget_AppCompat_Light_ActionButton_Overflow = 0x7f0c0010;
|
||||
public static final int Widget_AppCompat_Light_ActionMode_Inverse = 0x7f0c001c;
|
||||
public static final int Widget_AppCompat_Light_ActivityChooserView = 0x7f0c0039;
|
||||
public static final int Widget_AppCompat_Light_AutoCompleteTextView = 0x7f0c0037;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar = 0x7f0c003b;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_Solid = 0x7f0c003d;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_Solid_Inverse = 0x7f0c003e;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_TabBar = 0x7f0c0046;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_TabBar_Inverse = 0x7f0c0047;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_TabText = 0x7f0c004c;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_TabText_Inverse = 0x7f0c004d;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_TabView = 0x7f0c0049;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionBar_TabView_Inverse = 0x7f0c004a;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionButton = 0x7f0c0040;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionButton_CloseMode = 0x7f0c0042;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionButton_Overflow = 0x7f0c0044;
|
||||
public static final int Widget_AppCompat_Light_Base_ActionMode_Inverse = 0x7f0c004f;
|
||||
public static final int Widget_AppCompat_Light_Base_ActivityChooserView = 0x7f0c0076;
|
||||
public static final int Widget_AppCompat_Light_Base_AutoCompleteTextView = 0x7f0c0074;
|
||||
public static final int Widget_AppCompat_Light_Base_DropDownItem_Spinner = 0x7f0c005e;
|
||||
public static final int Widget_AppCompat_Light_Base_ListPopupWindow = 0x7f0c0066;
|
||||
public static final int Widget_AppCompat_Light_Base_ListView_DropDown = 0x7f0c0060;
|
||||
public static final int Widget_AppCompat_Light_Base_PopupMenu = 0x7f0c0068;
|
||||
public static final int Widget_AppCompat_Light_Base_Spinner = 0x7f0c005c;
|
||||
public static final int Widget_AppCompat_Light_DropDownItem_Spinner = 0x7f0c0025;
|
||||
public static final int Widget_AppCompat_Light_ListPopupWindow = 0x7f0c002a;
|
||||
public static final int Widget_AppCompat_Light_ListView_DropDown = 0x7f0c0027;
|
||||
public static final int Widget_AppCompat_Light_PopupMenu = 0x7f0c002c;
|
||||
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar = 0x7f0c0023;
|
||||
public static final int Widget_AppCompat_ListPopupWindow = 0x7f0c0029;
|
||||
public static final int Widget_AppCompat_ListView_DropDown = 0x7f0c0026;
|
||||
public static final int Widget_AppCompat_ListView_Menu = 0x7f0c002d;
|
||||
public static final int Widget_AppCompat_PopupMenu = 0x7f0c002b;
|
||||
public static final int Widget_AppCompat_ProgressBar = 0x7f0c000a;
|
||||
public static final int Widget_AppCompat_ProgressBar_Horizontal = 0x7f0c0009;
|
||||
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar = 0x7f0c0022;
|
||||
}
|
||||
public static final class styleable {
|
||||
public static final int[] ActionBar = { 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027, 0x7f010028, 0x7f010029, 0x7f01002a, 0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033 };
|
||||
public static final int[] ActionBarLayout = { 0x010100b3 };
|
||||
public static final int ActionBarLayout_android_layout_gravity = 0;
|
||||
public static final int[] ActionBarWindow = { 0x7f010000, 0x7f010001, 0x7f010002 };
|
||||
public static final int ActionBarWindow_windowActionBar = 0;
|
||||
public static final int ActionBarWindow_windowActionBarOverlay = 1;
|
||||
public static final int ActionBarWindow_windowSplitActionBar = 2;
|
||||
public static final int ActionBar_background = 10;
|
||||
public static final int ActionBar_backgroundSplit = 12;
|
||||
public static final int ActionBar_backgroundStacked = 11;
|
||||
public static final int ActionBar_customNavigationLayout = 13;
|
||||
public static final int ActionBar_displayOptions = 3;
|
||||
public static final int ActionBar_divider = 9;
|
||||
public static final int ActionBar_height = 1;
|
||||
public static final int ActionBar_homeLayout = 14;
|
||||
public static final int ActionBar_icon = 7;
|
||||
public static final int ActionBar_indeterminateProgressStyle = 16;
|
||||
public static final int ActionBar_itemPadding = 18;
|
||||
public static final int ActionBar_logo = 8;
|
||||
public static final int ActionBar_navigationMode = 2;
|
||||
public static final int ActionBar_progressBarPadding = 17;
|
||||
public static final int ActionBar_progressBarStyle = 15;
|
||||
public static final int ActionBar_subtitle = 4;
|
||||
public static final int ActionBar_subtitleTextStyle = 6;
|
||||
public static final int ActionBar_title = 0;
|
||||
public static final int ActionBar_titleTextStyle = 5;
|
||||
public static final int[] ActionMenuItemView = { 0x0101013f };
|
||||
public static final int ActionMenuItemView_android_minWidth = 0;
|
||||
public static final int[] ActionMenuView = { };
|
||||
public static final int[] ActionMode = { 0x7f010022, 0x7f010026, 0x7f010027, 0x7f01002b, 0x7f01002d };
|
||||
public static final int ActionMode_background = 3;
|
||||
public static final int ActionMode_backgroundSplit = 4;
|
||||
public static final int ActionMode_height = 0;
|
||||
public static final int ActionMode_subtitleTextStyle = 2;
|
||||
public static final int ActionMode_titleTextStyle = 1;
|
||||
public static final int[] ActivityChooserView = { 0x7f010066, 0x7f010067 };
|
||||
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
|
||||
public static final int ActivityChooserView_initialActivityCount = 0;
|
||||
public static final int[] CompatTextView = { 0x7f010069 };
|
||||
public static final int CompatTextView_textAllCaps = 0;
|
||||
public static final int[] LinearLayoutICS = { 0x7f01002a, 0x7f010051, 0x7f010052 };
|
||||
public static final int LinearLayoutICS_divider = 0;
|
||||
public static final int LinearLayoutICS_dividerPadding = 2;
|
||||
public static final int LinearLayoutICS_showDividers = 1;
|
||||
public static final int[] MenuGroup = { 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 };
|
||||
public static final int MenuGroup_android_checkableBehavior = 5;
|
||||
public static final int MenuGroup_android_enabled = 0;
|
||||
public static final int MenuGroup_android_id = 1;
|
||||
public static final int MenuGroup_android_menuCategory = 3;
|
||||
public static final int MenuGroup_android_orderInCategory = 4;
|
||||
public static final int MenuGroup_android_visible = 2;
|
||||
public static final int[] MenuItem = { 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x7f010049, 0x7f01004a, 0x7f01004b, 0x7f01004c };
|
||||
public static final int MenuItem_actionLayout = 14;
|
||||
public static final int MenuItem_actionProviderClass = 16;
|
||||
public static final int MenuItem_actionViewClass = 15;
|
||||
public static final int MenuItem_android_alphabeticShortcut = 9;
|
||||
public static final int MenuItem_android_checkable = 11;
|
||||
public static final int MenuItem_android_checked = 3;
|
||||
public static final int MenuItem_android_enabled = 1;
|
||||
public static final int MenuItem_android_icon = 0;
|
||||
public static final int MenuItem_android_id = 2;
|
||||
public static final int MenuItem_android_menuCategory = 5;
|
||||
public static final int MenuItem_android_numericShortcut = 10;
|
||||
public static final int MenuItem_android_onClick = 12;
|
||||
public static final int MenuItem_android_orderInCategory = 6;
|
||||
public static final int MenuItem_android_title = 7;
|
||||
public static final int MenuItem_android_titleCondensed = 8;
|
||||
public static final int MenuItem_android_visible = 4;
|
||||
public static final int MenuItem_showAsAction = 13;
|
||||
public static final int[] MenuView = { 0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e, 0x0101012f, 0x01010130, 0x01010131, 0x01010435 };
|
||||
public static final int MenuView_android_headerBackground = 4;
|
||||
public static final int MenuView_android_horizontalDivider = 2;
|
||||
public static final int MenuView_android_itemBackground = 5;
|
||||
public static final int MenuView_android_itemIconDisabledAlpha = 6;
|
||||
public static final int MenuView_android_itemTextAppearance = 1;
|
||||
public static final int MenuView_android_preserveIconSpacing = 7;
|
||||
public static final int MenuView_android_verticalDivider = 3;
|
||||
public static final int MenuView_android_windowAnimationStyle = 0;
|
||||
public static final int[] SearchView = { 0x0101011f, 0x01010220, 0x01010264, 0x7f010056, 0x7f010057 };
|
||||
public static final int SearchView_android_imeOptions = 2;
|
||||
public static final int SearchView_android_inputType = 1;
|
||||
public static final int SearchView_android_maxWidth = 0;
|
||||
public static final int SearchView_iconifiedByDefault = 3;
|
||||
public static final int SearchView_queryHint = 4;
|
||||
public static final int[] Spinner = { 0x010100af, 0x01010175, 0x01010176, 0x01010262, 0x010102ac, 0x010102ad, 0x7f01004d, 0x7f01004e, 0x7f01004f, 0x7f010050 };
|
||||
public static final int Spinner_android_dropDownHorizontalOffset = 4;
|
||||
public static final int Spinner_android_dropDownSelector = 1;
|
||||
public static final int Spinner_android_dropDownVerticalOffset = 5;
|
||||
public static final int Spinner_android_dropDownWidth = 3;
|
||||
public static final int Spinner_android_gravity = 0;
|
||||
public static final int Spinner_android_popupBackground = 2;
|
||||
public static final int Spinner_disableChildrenWhenDisabled = 9;
|
||||
public static final int Spinner_popupPromptView = 8;
|
||||
public static final int Spinner_prompt = 6;
|
||||
public static final int Spinner_spinnerMode = 7;
|
||||
public static final int[] Theme = { 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047, 0x7f010048 };
|
||||
public static final int Theme_actionDropDownStyle = 0;
|
||||
public static final int Theme_dropdownListPreferredItemHeight = 1;
|
||||
public static final int Theme_listChoiceBackgroundIndicator = 5;
|
||||
public static final int Theme_panelMenuListTheme = 4;
|
||||
public static final int Theme_panelMenuListWidth = 3;
|
||||
public static final int Theme_popupMenuStyle = 2;
|
||||
public static final int[] View = { 0x010100da, 0x7f010034, 0x7f010035 };
|
||||
public static final int View_android_focusable = 0;
|
||||
public static final int View_paddingEnd = 2;
|
||||
public static final int View_paddingStart = 1;
|
||||
}
|
||||
}
|
6
gen/com/example/sniptease/BuildConfig.java
Normal file
@ -0,0 +1,6 @@
|
||||
/** Automatically generated file. DO NOT MODIFY */
|
||||
package com.example.sniptease;
|
||||
|
||||
public final class BuildConfig {
|
||||
public final static boolean DEBUG = true;
|
||||
}
|
16
gen/com/example/sniptease/Manifest.java
Normal file
@ -0,0 +1,16 @@
|
||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*
|
||||
* This class was automatically generated by the
|
||||
* aapt tool from the resource data it found. It
|
||||
* should not be modified by hand.
|
||||
*/
|
||||
|
||||
package com.example.sniptease;
|
||||
|
||||
public final class Manifest {
|
||||
public static final class permission {
|
||||
/** Creates a custom permission so only this app can receive its messages.
|
||||
*/
|
||||
public static final String C2D_MESSAGE="com.example.sniptease.permission.C2D_MESSAGE";
|
||||
}
|
||||
}
|
3134
gen/com/example/sniptease/R.java
Normal file
BIN
ic_launcher-web.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
libs/android-support-v4.jar
Normal file
BIN
libs/commons-codec-1.6.jar
Normal file
BIN
libs/commons-logging-1.1.3.jar
Normal file
BIN
libs/fluent-hc-4.3.3.jar
Normal file
BIN
libs/gcm.jar
Normal file
BIN
libs/httpclient-4.3.3.jar
Normal file
BIN
libs/httpclient-cache-4.3.3.jar
Normal file
BIN
libs/httpcore-4.3.2.jar
Normal file
BIN
libs/httpmime-4.3.3.jar
Normal file
BIN
libs/jtds-1.3.1.jar
Normal file
7
lint.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<lint>
|
||||
<issue id="NewApi">
|
||||
<ignore path="src/com/example/sniptease/SnipItemView.java" />
|
||||
<ignore path="src/com/example/sniptease/SplashActivity.java" />
|
||||
</issue>
|
||||
</lint>
|
20
proguard-project.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# To enable ProGuard in your project, edit project.properties
|
||||
# to define the proguard.config property as described in that file.
|
||||
#
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the ProGuard
|
||||
# include property in project.properties.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
15
project.properties
Normal file
@ -0,0 +1,15 @@
|
||||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
# Project target.
|
||||
target=android-19
|
||||
android.library.reference.1=../appcompat_v7
|
BIN
res/drawable-hdpi/camera_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-hdpi/chat_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-hdpi/correct_icon.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
res/drawable-hdpi/friends_icon.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
res/drawable-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
res/drawable-hdpi/login.png
Normal file
After Width: | Height: | Size: 135 KiB |
BIN
res/drawable-hdpi/logout.png
Normal file
After Width: | Height: | Size: 865 B |
BIN
res/drawable-hdpi/mainmenu.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
res/drawable-hdpi/news_feed_icon.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
res/drawable-hdpi/pending_icon.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
res/drawable-hdpi/profile_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-hdpi/question_mark_icon.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
res/drawable-hdpi/register.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
res/drawable-hdpi/settings.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
res/drawable-hdpi/settings_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-hdpi/splash.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
res/drawable-hdpi/tab_nav_bar.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
res/drawable-hdpi/video_placeholder.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
res/drawable-hdpi/wrong_icon.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
res/drawable-ldpi/camera_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-ldpi/chat_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-ldpi/news_feed_icon.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
res/drawable-ldpi/profile_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-ldpi/settings_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-mdpi/camera_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-mdpi/chat_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
res/drawable-mdpi/news_feed_icon.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
res/drawable-mdpi/profile_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-mdpi/settings_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-xhdpi/camera_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-xhdpi/chat_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
res/drawable-xhdpi/news_feed_icon.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
res/drawable-xhdpi/profile_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-xhdpi/settings_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-xxhdpi/camera_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
res/drawable-xxhdpi/chat_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
res/drawable-xxhdpi/news_feed_icon.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
res/drawable-xxhdpi/profile_icon.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
res/drawable-xxhdpi/settings_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
115
res/layout/activity_camera.xml
Normal file
@ -0,0 +1,115 @@
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/camera_preview"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1" >
|
||||
|
||||
<GridLayout
|
||||
android:id="@+id/camera_grid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:columnCount="1"
|
||||
android:onClick="buttonTakePicOnClick"
|
||||
android:visibility="visible" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_flipcam"
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginLeft="250dp"
|
||||
android:onClick="buttonFlipCamOnClick"
|
||||
android:text="Flip Cam" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_flash_tog"
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="left|top"
|
||||
android:layout_row="0"
|
||||
android:layout_weight="1"
|
||||
android:onClick="buttonFlashOnClick"
|
||||
android:text="Flash" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_snap_pic"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="center_horizontal|bottom"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonTakePicOnClick"
|
||||
android:text="Take Pic" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_save"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="left|bottom"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonSaveOnClick"
|
||||
android:text="Save" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_send_pic"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="right|bottom"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonSendPicOnClick"
|
||||
android:text="Send Pic" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_snap_video"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="right|bottom"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonTakeVideoOnClick"
|
||||
android:text="Take Video" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_send_snip"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="center_horizontal|bottom"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonSendSnipOnClick"
|
||||
android:text="Send Snip" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_upload"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="left|bottom"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonUploadOnClick"
|
||||
android:text="Upload" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/camera_clear"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="left|top"
|
||||
android:layout_row="0"
|
||||
android:onClick="buttonClearOnClick"
|
||||
android:text="X" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/camera_video_progress"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_column="0"
|
||||
android:layout_gravity="left|bottom"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:layout_row="0"
|
||||
android:visibility="invisible" />
|
||||
|
||||
</GridLayout>
|
||||
|
||||
<VideoView
|
||||
android:id="@+id/camera_video_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
|
96
res/layout/activity_edit_profile.xml
Normal file
@ -0,0 +1,96 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.EditProfileActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:text="Profile Picture" >
|
||||
</TextView>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/edit_profile_upload_pic"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:onClick="onImageClick"
|
||||
android:src="@drawable/ic_launcher" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:text="From:" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_profile_location"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10" >
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Interested in" />
|
||||
|
||||
<RadioGroup
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/edit_profile_orientation_group">"
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/edit_profile_likes_men"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Men" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/edit_profile_likes_women"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Women" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/edit_profile_likes_both"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Both" />
|
||||
</RadioGroup>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_location_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="About Me" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_profile_about_me"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="textMultiLine" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
102
res/layout/activity_login.xml
Normal file
@ -0,0 +1,102 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
tools:context="com.example.sniptease.LoginActivity" >
|
||||
|
||||
<!-- Login progress -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/login_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone" >
|
||||
|
||||
<ProgressBar
|
||||
style="?android:attr/progressBarStyleLarge"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/login_status_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:text="@string/login_progress_signing_in"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Login form -->
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/login_form"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
style="@style/LoginFormContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/userName"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="75dp"
|
||||
android:ems="10"
|
||||
android:hint="@string/prompt_userName"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:ems="10"
|
||||
android:hint="@string/prompt_password"
|
||||
android:imeActionId="@+id/login"
|
||||
android:imeActionLabel="@string/action_sign_in_short"
|
||||
android:imeOptions="actionUnspecified"
|
||||
android:inputType="textPassword"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" >
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<Button
|
||||
android:id="@+id/log_in_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="70dp"
|
||||
android:paddingLeft="32dp"
|
||||
android:paddingRight="32dp"
|
||||
android:text="@string/action_sign_in_register" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/register_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Register" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/login_remember_me"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Remember Me" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</RelativeLayout>
|
18
res/layout/activity_main_menu.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
tools:context="com.example.sniptease.MainMenuActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
<!--android:background="@drawable/mainmenu" -->
|
||||
<LinearLayout
|
||||
android:id="@+id/fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
51
res/layout/activity_messenger.xml
Normal file
@ -0,0 +1,51 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.MessengerActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/message_scroll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/abc_action_bar_default_height"
|
||||
android:paddingBottom="@dimen/abc_action_bar_progress_bar_size" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/messenger_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/messenger_next_line"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:hint="chat with..."
|
||||
android:imeOptions="actionSend"
|
||||
android:inputType="textCapSentences|textAutoCorrect" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/messenger_refresh"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Refresh"
|
||||
android:onClick="refreshMessages"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
103
res/layout/activity_question_viewer.xml
Normal file
@ -0,0 +1,103 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.QuestionViewerActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="50dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Question"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/question_hint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:onClick="hintButtonOnClick"
|
||||
android:text="HINT?" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/question_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="the_question"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Tap answer below" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/question_radio_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/question_option_a"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:text="option_A"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/question_option_b"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:text="option_b"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/question_option_c"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:text="option_c"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/question_option_d"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:text="option_d"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
</RadioGroup>
|
||||
|
||||
<Button
|
||||
android:id="@+id/question_submit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="submitButtonOnClick"
|
||||
android:text="GO FOR IT!" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/question_begin"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="BEGIN QUESTION"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
103
res/layout/activity_register_new_user.xml
Normal file
@ -0,0 +1,103 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
tools:context="com.example.sniptease.RegisterNewUserActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/new_Username"
|
||||
android:layout_width="268dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:ems="10"
|
||||
android:hint="Username"
|
||||
android:singleLine="true" >
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/new_Password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:ems="10"
|
||||
android:hint="Password"
|
||||
android:inputType="textPassword" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/new_Password2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:ems="10"
|
||||
android:hint="Confirm Password"
|
||||
android:inputType="textPassword" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/new_Email"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:ems="10"
|
||||
android:hint="Email Address"
|
||||
android:inputType="textEmailAddress" />
|
||||
|
||||
<DatePicker
|
||||
android:id="@+id/new_Birthdate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:calendarViewShown="false" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/register_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|center"
|
||||
android:text="Register"
|
||||
android:visibility="visible" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/register_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone" >
|
||||
|
||||
<ProgressBar
|
||||
style="?android:attr/progressBarStyleLarge"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/register_status_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:text="@string/register_progress_registering"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
90
res/layout/activity_settings.xml
Normal file
@ -0,0 +1,90 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.SettingsActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/following_me_scroll_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="username" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/settings_username_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Username from server" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_location_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="e-mail address" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/edit_email_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="editEmail"
|
||||
android:text="get email from server" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/allFollowersCheckBox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Notifications" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_about_me"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="sharing" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/fb_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Facebook" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/twit_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Twitter" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView6"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="legal" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/privacy_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Privacy" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/tos_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Terms of Service" />
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</FrameLayout>
|
||||
|
101
res/layout/activity_snip_attach_question.xml
Normal file
@ -0,0 +1,101 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.SnipAttachQuestionActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/enterQuestionText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:hint="Enter your question here" >
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/saveQuestionCheckBox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Save?" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/giveAHintButton"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="giveAHintOnClick"
|
||||
android:text="Give a hint" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/myFavoriteHintButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="myFavoritesOnClick"
|
||||
android:text="My favorites" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/correctAnswerText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:hint="Enter correct answer here" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/firstFalseAnswerText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:hint="Enter false answer" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/secondFalseAnswerText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:hint="Optional false answer" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/thirdFalseAnswerText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:hint="Optional false answer" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/uploadSnipButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="sendSnipOnClick"
|
||||
android:text="Send snip.." />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
40
res/layout/activity_snip_recipients.xml
Normal file
@ -0,0 +1,40 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.SnipRecipientsActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/sendSnipFollowersContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/allFollowersCheckBox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="allFollowersCheckBoxOnClick"
|
||||
android:text="All followers" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/uploadSnipButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:onClick="uploadSnipButtonOnClick"
|
||||
android:text="Send Snip" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/uploadSnipProgressBar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</FrameLayout>
|
||||
|
63
res/layout/activity_snip_viewer.xml
Normal file
@ -0,0 +1,63 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.SnipViewerActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/snip_viewer_image_holder"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
|
||||
android:visibility="gone"/>
|
||||
|
||||
<VideoView
|
||||
android:id="@+id/snip_viewer_video_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/snip_viewer_answer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignRight="@+id/snip_viewer_question"
|
||||
android:layout_marginBottom="66dp"
|
||||
android:text="Answer"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="#FFFFFF"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/snip_viewer_question"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/snip_viewer_answer"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="17dp"
|
||||
android:text="Question"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="#FFFFFF"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/flag_snip_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="|>\n|\n|"
|
||||
android:textColor="#FF0000"
|
||||
android:onClick="flagButtonOnClick" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
16
res/layout/activity_splash.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:background="@drawable/splash" >
|
||||
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/splashView"
|
||||
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
111
res/layout/activity_view_aprofile.xml
Normal file
@ -0,0 +1,111 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.example.sniptease.ViewAProfileActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/view_profile_background_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#CC000000"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Button
|
||||
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:gravity="right|center_vertical|center_horizontal"
|
||||
android:text="REPORT USER"
|
||||
android:onClick="reportUserOnClick" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/view_profile_pro_pic"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
|
||||
android:layout_weight="0"
|
||||
android:src="@drawable/profile_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0"
|
||||
android:text="TextView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_location_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0"
|
||||
android:text="TextView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<ToggleButton
|
||||
android:id="@+id/view_profile_following_button_tog"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_weight="0"
|
||||
android:text="Following"
|
||||
android:onClick="toggleFollowingOnClick" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:background="#CC000000" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_followers_counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Text\nView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_following_counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Text\nView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/view_profile_chat_button"
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginLeft="100dp"
|
||||
android:onClick="startChatOnClick"
|
||||
android:text="Chat" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#CC000000" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_about_me"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="TextView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
16
res/layout/fragment_camera.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.CameraActivity$PlaceholderFragment" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" />
|
||||
|
||||
</RelativeLayout>
|
19
res/layout/fragment_chat.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<ScrollView 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"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
|
||||
tools:context="com.example.sniptease.ChatFragment" >
|
||||
|
||||
<!-- TODO: Update blank fragment layout -->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/chat_list_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
|
||||
android:orientation="vertical" >
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
12
res/layout/fragment_edit_profile.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.EditProfileActivity$PlaceholderFragment" >
|
||||
|
||||
|
||||
</RelativeLayout>
|
73
res/layout/fragment_following.xml
Normal file
@ -0,0 +1,73 @@
|
||||
<FrameLayout xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
|
||||
tools:context="com.example.sniptease.FollowersFragment" >
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/following_toggle_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="onRadioButtonClicked"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/following_me_toggle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Following Me" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/im_following_toggle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="I'm Following" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/searchUsersButton"
|
||||
style="?android:attr/buttonStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="+"
|
||||
android:onClick="addFriendsButton" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/following_page_scroll_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="30dp" >
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/following_me_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="vertical" >
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/im_following_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/search_results_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</FrameLayout>
|
16
res/layout/fragment_main_menu.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.MainMenuActivity$PlaceholderFragment" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" />
|
||||
|
||||
</RelativeLayout>
|
11
res/layout/fragment_messenger.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.MessengerActivity$PlaceholderFragment" >
|
||||
|
||||
</RelativeLayout>
|
44
res/layout/fragment_news.xml
Normal file
@ -0,0 +1,44 @@
|
||||
<ScrollView 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"
|
||||
android:background="#A3A3C2"
|
||||
tools:context="com.example.sniptease.NewsFragment"
|
||||
android:id="@+id/news_scroll_view"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs" >
|
||||
|
||||
<!-- TODO: Update blank fragment layout -->
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/news_feed_edit_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
android:onClick="editButtonOnClick"
|
||||
android:text="Edit" >
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
android:id="@+id/inviteButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="Invite =)" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/news_table"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="50dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</ScrollView>
|
98
res/layout/fragment_profile.xml
Normal file
@ -0,0 +1,98 @@
|
||||
<FrameLayout 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"
|
||||
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
|
||||
tools:context="com.example.sniptease.ProfileFragment" >
|
||||
|
||||
<!-- TODO: Update blank fragment layout -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#CC000000"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/self_profile_cover_image" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/giveAHintButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top|right"
|
||||
android:onClick="editProfileButton"
|
||||
android:text="Edit Profile"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/profile_image"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_launcher" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/profile_username_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="Username"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/profile_location_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="Location"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/profile_orientation_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Interested In"
|
||||
android:textColor="#FFFFFF"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#CC000000"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_following_counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Text\nView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/view_profile_followers_counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Text\nView"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.03"
|
||||
android:background="#CC000000" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/profile_about_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.03"
|
||||
android:text="About Us"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textColorHint="#FFFFFF" />
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
16
res/layout/fragment_question_viewer.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.QuestionViewerActivity$PlaceholderFragment" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" />
|
||||
|
||||
</RelativeLayout>
|
16
res/layout/fragment_register_new_user.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.RegisterNewUserActivity$PlaceholderFragment" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" />
|
||||
|
||||
</RelativeLayout>
|
13
res/layout/fragment_settings.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<LinearLayout 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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.SettingsActivity$PlaceholderFragment"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
</LinearLayout>
|
11
res/layout/fragment_snip_attach_question.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.SnipAttachQuestionActivity$PlaceholderFragment" >
|
||||
|
||||
</RelativeLayout>
|
16
res/layout/fragment_snip_recipients.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.SnipRecipientsActivity$PlaceholderFragment" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" />
|
||||
|
||||
</RelativeLayout>
|
11
res/layout/fragment_snip_viewer.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.SnipViewerActivity$PlaceholderFragment" >
|
||||
|
||||
</RelativeLayout>
|
16
res/layout/fragment_splash.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.SplashActivity$PlaceholderFragment" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" />
|
||||
|
||||
</RelativeLayout>
|
11
res/layout/fragment_view_aprofile.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<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"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="com.example.sniptease.ViewAProfileActivity$PlaceholderFragment" >
|
||||
|
||||
</RelativeLayout>
|
11
res/menu/browse_picture.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.sniptease.BrowsePictureActivity" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
9
res/menu/camera.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.sniptease.CameraActivity"
|
||||
xmlns:sniptease="http://schemas.android.com/apk/res-auto" >
|
||||
|
||||
|
||||
|
||||
|
||||
</menu>
|
30
res/menu/camera_post.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:sniptease="http://schemas.android.com/apk/res-auto" >
|
||||
|
||||
<item
|
||||
android:id="@+id/save_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orderInCategory="1"
|
||||
android:title="Save"
|
||||
sniptease:showAsAction="ifRoom">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/attach_media_to_snip_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orderInCategory="2"
|
||||
android:title="Snip It"
|
||||
sniptease:showAsAction="ifRoom">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/send_media_independent_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orderInCategory="2"
|
||||
android:title="No Snip"
|
||||
sniptease:showAsAction="ifRoom">
|
||||
</item>
|
||||
|
||||
</menu>
|
11
res/menu/edit_profile.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.sniptease.EditProfileActivity" >
|
||||
|
||||
<item
|
||||
android:id="@+id/edit_profile_save"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="Save"/>
|
||||
|
||||
</menu>
|
10
res/menu/login.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="${packageName}.${activityClass}" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_forgot_password"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_forgot_password"/>
|
||||
|
||||
</menu>
|
37
res/menu/main_menu.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:sniptease="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.sniptease.MainMenuActivity" >
|
||||
|
||||
<group android:id="@+id/default_main_group" >
|
||||
<item
|
||||
android:id="@+id/action_camera"
|
||||
android:icon="@drawable/camera_icon"
|
||||
android:orderInCategory="1"
|
||||
android:showAsAction="always"
|
||||
android:title="Camera"/>
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:icon="@drawable/settings_icon"
|
||||
android:orderInCategory="2"
|
||||
android:showAsAction="always"
|
||||
android:title="@string/action_settings"/>
|
||||
<item
|
||||
android:id="@+id/action_logout"
|
||||
android:icon="@drawable/logout"
|
||||
android:orderInCategory="3"
|
||||
android:showAsAction="always"
|
||||
android:title="Logout"/>
|
||||
</group>
|
||||
<group android:id="@+id/search_bar_group" >
|
||||
<item
|
||||
android:id="@+id/search_bar_friends"
|
||||
android:actionViewClass="android.widget.SearchView"
|
||||
android:enabled="false"
|
||||
android:showAsAction="always"
|
||||
android:title="Find Friends"
|
||||
android:visible="false"/>
|
||||
</group>
|
||||
|
||||
</menu>
|