Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c516233a
authored
Dec 16, 2016
by
german
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Added list of legal users (stu & sup) only on the view.
parent
743c7416
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
28 deletions
android/Pictogram/commonlibrary/src/main/res/values/colors.xml
android/Pictogram/tabletlibrary/src/main/res/layout/activity_serial.xml
android/Pictogram/tabletlibrary/src/main/res/values/strings.xml
android/Pictogram/commonlibrary/src/main/res/values/colors.xml
View file @
c516233a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<item
name=
"picto_default_background"
type=
"color"
>
#CCFFFFFF
</item>
<item
name=
"picto_default_background"
type=
"color"
>
#CCFFFFFF
</item>
<item
name=
"picto_border"
type=
"color"
>
#AA000000
</item>
<item
name=
"picto_border"
type=
"color"
>
#AA000000
</item>
<item
name=
"blue"
type=
"color"
>
#
FF33B5E
5
</item>
<item
name=
"blue"
type=
"color"
>
#
33b5e
5
</item>
<item
name=
"purple"
type=
"color"
>
#FFAA66CC
</item>
<item
name=
"purple"
type=
"color"
>
#FFAA66CC
</item>
<item
name=
"green"
type=
"color"
>
#FF99CC00
</item>
<item
name=
"green"
type=
"color"
>
#FF99CC00
</item>
<item
name=
"orange"
type=
"color"
>
#FFFFBB33
</item>
<item
name=
"orange"
type=
"color"
>
#FFFFBB33
</item>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<item
name=
"darkpurple"
type=
"color"
>
#FF9933CC
</item>
<item
name=
"darkpurple"
type=
"color"
>
#FF9933CC
</item>
<item
name=
"darkgreen"
type=
"color"
>
#FF669900
</item>
<item
name=
"darkgreen"
type=
"color"
>
#FF669900
</item>
<item
name=
"darkorange"
type=
"color"
>
#FFFF8800
</item>
<item
name=
"darkorange"
type=
"color"
>
#FFFF8800
</item>
<item
name=
"darkred"
type=
"color"
>
#
FFCC
0000
</item>
<item
name=
"darkred"
type=
"color"
>
#
cc
0000
</item>
<integer-array
name=
"androidcolors"
>
<integer-array
name=
"androidcolors"
>
<item>
@color/blue
</item>
<item>
@color/blue
</item>
...
@@ -27,4 +27,4 @@
...
@@ -27,4 +27,4 @@
<item>
@color/darkorange
</item>
<item>
@color/darkorange
</item>
<item>
@color/darkred
</item>
<item>
@color/darkred
</item>
</integer-array>
</integer-array>
</resources>
</resources>
\ No newline at end of file
android/Pictogram/tabletlibrary/src/main/res/layout/activity_serial.xml
View file @
c516233a
...
@@ -10,17 +10,15 @@
...
@@ -10,17 +10,15 @@
android:paddingTop=
"@dimen/activity_vertical_margin"
android:paddingTop=
"@dimen/activity_vertical_margin"
tools:context=
".gui.SerialActivity"
>
tools:context=
".gui.SerialActivity"
>
<EditText
<ImageView
android:id=
"@+id/serialmail"
android:layout_width=
"200px"
android:layout_width=
"400px"
android:layout_height=
"120px"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"30px"
android:hint=
"@string/prompt_serial_mail"
android:orientation=
"horizontal"
android:imeActionId=
"@+id/login"
android:src=
"@drawable/pictogram_logo"
android:imeOptions=
"actionUnspecified"
android:id=
"@+id/imageView"
android:inputType=
"text"
android:layout_alignParentTop=
"true"
android:maxLines=
"1"
android:layout_toEndOf=
"@+id/serialmail"
/>
android:singleLine=
"true"
android:layout_alignParentTop=
"true"
/>
<EditText
<EditText
android:id=
"@+id/serialpass"
android:id=
"@+id/serialpass"
...
@@ -34,28 +32,87 @@
...
@@ -34,28 +32,87 @@
android:maxLines=
"1"
android:maxLines=
"1"
android:singleLine=
"true"
android:singleLine=
"true"
android:layout_below=
"@+id/serialmail"
android:layout_below=
"@+id/serialmail"
/>
android:layout_toStartOf=
"@+id/imageView"
/>
<Button
<Button
android:id=
"@+id/entrar_button"
style=
"?android:textAppearanceSmall"
android:id=
"@+id/entrar_button"
style=
"?android:textAppearanceSmall"
android:layout_width=
"400px"
android:layout_width=
"400px"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"1
6
dp"
android:layout_marginTop=
"1
1
dp"
android:text=
"@string/action_entrar"
android:text=
"@string/action_entrar"
android:textStyle=
"bold"
android:textStyle=
"bold"
android:layout_below=
"@+id/serialpass"
/>
android:layout_below=
"@+id/serialpass"
android:layout_alignStart=
"@+id/serialpass"
/>
<ImageView
<View
android:layout_width=
"200px"
android:layout_width=
"match_parent"
android:layout_height=
"120px"
android:layout_height=
"1dp"
android:layout_marginLeft=
"30px"
android:background=
"@android:color/darker_gray"
android:orientation=
"horizontal"
android:layout_below=
"@+id/entrar_button"
android:src=
"@drawable/pictogram_logo"
android:layout_alignParentEnd=
"true"
android:layout_centerHorizontal=
"true"
android:layout_marginEnd=
"18dp"
/>
android:id=
"@+id/imageView"
android:layout_toRightOf=
"@+id/serialmail"
<EditText
android:layout_alignParentTop=
"true"
/>
android:id=
"@+id/serialmail"
android:layout_width=
"400px"
android:layout_height=
"wrap_content"
android:hint=
"@string/prompt_serial_mail"
android:imeActionId=
"@+id/login"
android:imeOptions=
"actionUnspecified"
android:inputType=
"text"
android:maxLines=
"1"
android:layout_marginStart=
"212dp"
android:layout_alignParentTop=
"true"
android:layout_alignParentStart=
"true"
/>
<LinearLayout
android:orientation=
"vertical"
android:background=
"@color/blue"
android:layout_height=
"350px"
android:layout_width=
"400px"
android:layout_alignParentBottom=
"true"
android:layout_alignStart=
"@+id/entrar_button"
android:layout_marginStart=
"270dp"
>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/labelSup"
tools:text=
"Supervisores"
android:text=
"@string/supervisores"
android:textAppearance=
"@style/TextAppearance.AppCompat"
android:textAlignment=
"center"
/>
<ListView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:id=
"@+id/supList"
/>
</LinearLayout>
<LinearLayout
android:orientation=
"vertical"
android:layout_height=
"350px"
android:layout_marginStart=
"67dp"
android:background=
"@color/darkred"
android:layout_width=
"400px"
android:layout_alignParentBottom=
"true"
android:layout_alignParentStart=
"true"
>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/labelStu"
tools:text=
"Alumnos"
android:text=
"@string/alumnos"
android:textAppearance=
"@style/TextAppearance.AppCompat"
android:textAlignment=
"center"
/>
<ListView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:id=
"@+id/stuList"
/>
</LinearLayout>
</RelativeLayout>
</RelativeLayout>
...
...
android/Pictogram/tabletlibrary/src/main/res/values/strings.xml
View file @
c516233a
<resources>
<resources>
<string
name=
"app_name"
>
com.yottacode.pictogram.Tablet
</string>
<string
name=
"app_name"
>
com.yottacode.pictogram.Tablet
</string>
<string
name=
"alumnos"
>
Alumnos
</string>
<string
name=
"supervisores"
>
Supervisores
</string>
<item
name=
"maxInTape"
type=
"integer"
>
8
</item>
<item
name=
"maxInTape"
type=
"integer"
>
8
</item>
<item
name=
"maxInTape_big"
type=
"integer"
>
6
</item>
<item
name=
"maxInTape_big"
type=
"integer"
>
6
</item>
</resources>
</resources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment